T
TJ
Hi,
I want to know how Regular Expression can be used in this situation.
I want to replace some string in specific condition..
The condition is to replace string only if the string is NOT inside of tag.
For example,
<Test id='wow'>wow</Test>
I want to replace the wow with great...So output will be
<Test id='wow'>great</Test>
As you know, if I just simply use 'wow' regular expression, it won't work...
Anybody knows what regular expression am I supposed to use?
Thanks,
I want to know how Regular Expression can be used in this situation.
I want to replace some string in specific condition..
The condition is to replace string only if the string is NOT inside of tag.
For example,
<Test id='wow'>wow</Test>
I want to replace the wow with great...So output will be
<Test id='wow'>great</Test>
As you know, if I just simply use 'wow' regular expression, it won't work...
Anybody knows what regular expression am I supposed to use?
Thanks,