Jump to content
UBot Underground

Recommended Posts

I have a list of 100 items like the sample below

 

<td onclick="ubot.runScript('edit(731)')">73</td>
<td onclick="ubot.runScript('edit(451)')">45</td>
<td onclick="ubot.runScript('edit(2261)')">226</td>
<td onclick="ubot.runScript('edit(1371)')">137</td>
<td onclick="ubot.runScript('edit(2101)')">210</td>
<td onclick="ubot.runScript('edit(1351)')">135</td>
<td onclick="ubot.runScript('edit(2211)')">221</td>

 

The only thing I know about regex is that I need to use it to get the data I need and I was hoping someone could show me how.

 

From the sample above I need to end up with a list as below:

 

73

45

226

137

210

135

221

 

Any help would be greatly appreciated, cheers.

 

 

Link to post
Share on other sites

You should take a look at this below if your interested in leaning regular expressions.

http://www.ubotstudio.com/forum/index.php?/topic/15905-sell-learn-regular-expressions-video-course-2-hours-of-content/

 

Thanks giganut I'll check that out, cheers.

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...