F
fgarciarico
I'm getting crazy with a problem using regular expression. I wanna
search a string into a text and replace it the found string with the
next code, but it doesn't work and I don't know why:
new String(str_found).replace(myRe2,'<span class="bgyellow">$1</
span>');
It finds the string from myRe2, but it shows
<span class="bgyellow">$1</span>
Can anybody help me?
Thanks in advance for your help!
search a string into a text and replace it the found string with the
next code, but it doesn't work and I don't know why:
new String(str_found).replace(myRe2,'<span class="bgyellow">$1</
span>');
It finds the string from myRe2, but it shows
<span class="bgyellow">$1</span>
Can anybody help me?
Thanks in advance for your help!