|
-
Oct 1st, 2003, 11:46 PM
#1
Thread Starter
Addicted Member
Regular Expressions
Hi, In my program it gets the webpages html. I now need to get certain information from it. i need all the words between "> and </a>. You see it goes in a pattern. theres like 100 names on each webpage. I need the words in red. The webpage(url) that the html needs tho be downloaded is in the variable url . I need to use a regular expression but which one and how? Thanks
<tr>
<td width="13%" bgcolor="#494949" align="center">302</td>
<td width="45%" bgcolor="#494949"><a href="profile.php?id=471916">jerkass</a></td>
<td width="19%" bgcolor="#494949">32,755</td>
<td width="23%" bgcolor="#494949">$4,225,896</td>
<td width="23%" bgcolor="#494949">$0</td>
</tr>
<tr>
<td width="13%" align="center">303</td>
<td width="45%"><a href="profile.php?id=1005793">Laser28</a></td>
<td width="19%">32,686</td>
<td width="23%">$0</td>
<td width="23%">$31,160,354</td>
</tr>
<tr>
<td width="13%" bgcolor="#494949" align="center">304</td>
<td width="45%" bgcolor="#494949"><a href="profile.php?id=869471">Mephew</a></td>
<td width="19%" bgcolor="#494949">32,534</td>
<td width="23%" bgcolor="#494949">$717,989</td>
<td width="23%" bgcolor="#494949">$100,000,000</td>
</tr>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|