Re: FN-FORUM: ereg patterns
date posted 16th August 2004 11:17
Hi Joe,
This seems to work:
ereg_replace(' (\*[A-Za-z0-9_]+\*) ', '\\0', "This is a string
with *words* in it");
Think this is what you want. If you don't want the * in the output then
move them outside the ().
HTH
Martin