I have HTML code:
<tr class="odd"><td style="display:none">id>26847504,level>0,key_left>0,key_right>0,name>Random.Stuff345345,type>
I want to get those:
- 26847504
- Random.Stuff345345
I already tried that:
<tr class=\".+\"><td style=\"display:none\">id>([0-9]+),level>0,key_left>0,key_right\>0,name>([^,]+),type>
But it doesn’t work.
It is very bad idea to parse HTML with regex, but if you want to…
Test the code here.