Greetings All
I am trying to get the values in the 4th column from the left for this url. I can get all the values but it skips the first one (e.g. 30 i think is the value on top right now )
My regex is
~<td align="center" class="row2">.*<a href="javascript:who_posted.*;">([\d,]+)</a>.*</td>~isU
NOTE: HTML PARSING IS NOT AN OPTION RIGHT NOW AS THIS IS PART OF A HUGE SYSTEM AND CANNOT
BE CHANGED
Thanking you
Imran
You could just use:
As the javascript function can be exploited as a “regex selection point”
If you want your regex to work you need to use non-greedy expression, i.e. change
.*to.*?Also your first align match attribute in the HTML is surrounded in
''quotation marks, not""in the HTML, for some weird inconsistent reason. Try this:Edit:
Result: