S
Shawn B.
Greetings,
Lets say I have the following expression:
(<A|ABBR|ADDRESS|APPLET(\s){1,}(.*?)>(.*?)</A|ABBR|ADDRESS|APPLET)
Such that it'll match any HTML tag that opens with the above specified
(simplified for brevity) and the closing tag as well.
Assuming that I had a list of opening possibilities, how can I specify for
the RegEx that it should only match on the same closing occurance that it
first matched such that:
<A ...>...</A> will be matched as per the above example but not
<ADDRESS>...</A> but then, <ADDRESS>...<A>...</A>...</ADDRESS> will be
matched?
Do I have to input and maintain each of the hundreds of HTML tags
seperately?
Thanks,
Shawn
Lets say I have the following expression:
(<A|ABBR|ADDRESS|APPLET(\s){1,}(.*?)>(.*?)</A|ABBR|ADDRESS|APPLET)
Such that it'll match any HTML tag that opens with the above specified
(simplified for brevity) and the closing tag as well.
Assuming that I had a list of opening possibilities, how can I specify for
the RegEx that it should only match on the same closing occurance that it
first matched such that:
<A ...>...</A> will be matched as per the above example but not
<ADDRESS>...</A> but then, <ADDRESS>...<A>...</A>...</ADDRESS> will be
matched?
Do I have to input and maintain each of the hundreds of HTML tags
seperately?
Thanks,
Shawn