K
kelvlam
Hello,
I'm new with Regular Expression. I've been trying to find the right
regular expression to accomplish what I'm trying to do... but without
much success so far.
I understand there are a bunch of "special characters" used for
creating the regular expression.
http://www.devguru.com/technologies/javascript/11284.asp
I'm trying to globally replace all the HTML anchor from the string,
because I'm grabbing the string from innerHTML of an element.
So if I have a table, with bunch of cell (i.e TD) with <A {some
text}>{some more text}</A>, how can I use the string.replace function
with the appropriate regular expression, subsitute the <a, >, and </a>
with blank?
Thank in advance for the help
Kelvin
I'm new with Regular Expression. I've been trying to find the right
regular expression to accomplish what I'm trying to do... but without
much success so far.
I understand there are a bunch of "special characters" used for
creating the regular expression.
http://www.devguru.com/technologies/javascript/11284.asp
I'm trying to globally replace all the HTML anchor from the string,
because I'm grabbing the string from innerHTML of an element.
So if I have a table, with bunch of cell (i.e TD) with <A {some
text}>{some more text}</A>, how can I use the string.replace function
with the appropriate regular expression, subsitute the <a, >, and </a>
with blank?
Thank in advance for the help
Kelvin