P
paul vudmaska
I'm doing some html replacement using regular
expressions and i ran into this issue...
Example reg example => /\[b\](.*)\[\/b\]/
....works fine to match bold please but NOT
with bold
please
... where a new line is introduced so i tried this reg
exp...
/\[b\]([.\s]*)\[\/b\]/
and this...
/\[b\]([.\n]*)\[\/b\]/
but neither of the last 2 match at all.
What am i missing?
thanks,
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
expressions and i ran into this issue...
Example reg example => /\[b\](.*)\[\/b\]/
....works fine to match bold please but NOT
with bold
please
... where a new line is introduced so i tried this reg
exp...
/\[b\]([.\s]*)\[\/b\]/
and this...
/\[b\]([.\n]*)\[\/b\]/
but neither of the last 2 match at all.
What am i missing?
thanks,
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com