Need help with regex
Hi,
I am very new to using regular expression, and I have a problem I can't figure out myself.
The problem is how do I write a reFindNoCase function that will pull up the value inside a <td> tag:
1: <td>100</td>
2: <td><span class="some_class"> -100 </span></td>
So, inside the <td></td> tag there is an optional <span> tag. This tag is to be ignored, such that (1) should give me 100 while (2) should give me -100.
I have played around with different regex strings, but I just can't figure it out. Can someone help?
Thanks!
ML
