Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- regex - everthing between quotes
January 25, 2005, 10:24 am
rate this thread
I'm trying to get a preg_replace to replace wihhin a large string
variable, only words that are NOT preceded by a " or a >. For
While this sentence <em>does</em> serve as a useful example, it is
otherwise uninteresting, and does stand much of a chance, however
"useful" it might be, of publication.
I want the expression to replace the does that is not in em tags, and
the useful that is not in quotes.
Any assitance would be great.