How do i can put more lines for specific information of regex?
...Regex("(?<=SOMETHING).+?(?=SOMETHING)")
Once again selected from RuneScape, because here is best code for it.
Code:<tr class="row rowp4"> <td align="center"> <img class="miniimg" src="http://www.runescape.com/img/hiscores/skill_icon_strength1.gif"> </td> <td class="alL"> <a href="overall.ws?table=3&user=Gertjaars&category_type=0"> Strength </a> </td> <td class="alL">559</td> <td class="alL">99</td> <td class="alL">49,065,928</td> </tr>If you see there is alot of same information. I cannot use <td class="alL"> at one or filters in Regex, because it is everywhere other place too so it pickups random item from there. Only one thing which is different there is: <tr class="row rowp4"> and <tr class="row rowp5">Code:<tr class="row rowp5"> <td align="center"> <img class="miniimg" src="http://www.runescape.com/img/hiscores/skill_icon_hitpoints1.gif"> </td> <td class="alL"> <a href="overall.ws?table=4&user=Gertjaars&category_type=0"> Hitpoints </a> </td> <td class="alL">3</td> <td class="alL">99</td> <td class="alL">181,584,999</td> </tr>
How do i put it show this?: <td class="alL">99</td>
LOOK: If i put: <tr class="row rowp4"> and </tr> it shows EVERYTHING between of them. So Results are:
<tr class="row rowp5">
</tr>Code:<td align="center"> <img class="miniimg" src="http://www.runescape.com/img/hiscores/skill_icon_hitpoints1.gif"> </td> <td class="alL"> <a href="overall.ws?table=4&user=Gertjaars&category_type=0"> Hitpoints </a> </td> <td class="alL">3</td> <td class="alL">99</td> <td class="alL">181,584,999</td>




Reply With Quote