Calling Regex Experts
Benjamin Schmuhl
schmuhl at minglematch.com
Fri Feb 11 08:54:30 MST 2005
On Fri, 2005-02-11 at 07:18 -0700, Dan Wilson wrote:
> "... blahblah the brown fox jumped over $blahblah ..."
>
> I want to manipulate/replace the 'blahblah', but not the '$blahblah'.
> How would I go about doing this? I've got the following regex, but it
> doesn't do the trick:
>
> "/(([^\$])blahblah)([^_])/is"
" blahblah" should do it, no? As it has a space before it and the other
is preceded by a $.
--
Benjamin Schmuhl <schmuhl at minglematch.com>
MingleMatch, Inc.
More information about the PLUG
mailing list