Results 1 to 1 of 1

Thread: Patterns in Regex

  1. #1

    Thread Starter
    Addicted Member VBGangsta's Avatar
    Join Date
    Aug 2003
    Location
    New York
    Posts
    219

    Patterns in Regex

    I need help just making the pattern to extract data from a web page. FOr example i need somwething like : (?/>)w+(/>?)
    In the text file i attached you will see some thing like this

    I need all the numbers between the = and " so in this examle the results whould be 1172389,1174199, 1197589 and so on....
    The complete file is attached. Thanks a lot

    <a href="profile.php?id=1172389">RedBull392</a> [Hitman 100-499]<br>

    <a href="profile.php?id=1174199">Marcus1122</a> [Hitman 100-499]<br>

    <a href="profile.php?id=1197589">godfatherkire</a> [Hitman 100-499]<br>
    <a href="profile.php?id=1203312">trixter</a> [Hitman 100-499]<br>
    <a href="profile.php?id=1219358">bigpimp69692</a> [Hitman 100-499]<br>
    <a href="profile.php?id=1229476">OH****</a> [Hitman 100-499]<br>

    <a href="profile.php?id=1269919">Justlivetolive</a> [Hitman 100-499]<br>
    Attached Files Attached Files
    -Rob

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width