I need a pattern for use with eregi_replace() function which would look like this:
> something $the_word_I_need_to_mark something <
so that I could mark a keyword found in a string, except for keywords found inside a tag description so that the tags don't get screwed.
Thanx
P.S.
> [[:alnum:]]+ $keyword [[:alnum:]]+ < didn't work right
> something $the_word_I_need_to_mark something <
so that I could mark a keyword found in a string, except for keywords found inside a tag description so that the tags don't get screwed.
Thanx
P.S.
> [[:alnum:]]+ $keyword [[:alnum:]]+ < didn't work right