Mr.Shum
10-26-2004, 12:13 AM
Hi there,
I'm new on javascript regexp and wonder if anyone can help me. I like to replace all quote to " but not the quote inside a html tag.
Example:
StringToReplace = 'Joy say "Hello" to <Font color="red">you</Font> and say "hi" to me'
ReplacedString = 'Joy say "Hello" to <Font color="red">you</Font> and say "hi" to me'
Thanks in adv.
I'm new on javascript regexp and wonder if anyone can help me. I like to replace all quote to " but not the quote inside a html tag.
Example:
StringToReplace = 'Joy say "Hello" to <Font color="red">you</Font> and say "hi" to me'
ReplacedString = 'Joy say "Hello" to <Font color="red">you</Font> and say "hi" to me'
Thanks in adv.