> Hello Programmers, > > I am looking for a regexp for a string not at the beginning of the
> line. > > For example, I want to find $hello$ that does not occur at the > beginning of the string, ie all $hello$ that exclude ^$hello$.
How about a zero-width lookbehind for any character?
-- -PJ
Gehm's Corollary to Clark's Law: Any technology distinguishable from magic is insufficiently advanced.