regexp help needed

  • Thread starter Thread starter Tamas Nyilanszky
  • Start date Start date
T

Tamas Nyilanszky

hi,

i need to filter (e.g.) the number 149, 1307 and 3100 from a line like
this one:

<td id=l2 title=149>1307/3100</td>

so i will be able to split that string with reg.split() and receive an
array with the 3 values in it somehow...
or does that only work with reg.match some way?
as you can read, i dont really know how to approach regexp yet.
also i cant find a comprehensive guide to regexp in use in vb .net anywhere.
i'd also appreciate an easier solution.

thx in advance
 
hm ok i tried something else right now
i was thinking that the html page i was working with
effectively is an xml file and therefore i could easily
use XPath selections and navigate to the parts i need.

problem is: page is not formatted strictly after the rules of xml
so what i get is an exception in the end, with missing TAGEND and
whatsoever -_-

id really appreciate any solution for filtering certain stuff from a
html file/string

im trying to parse a website an thought regex's would help, but i'm
missing the skills for them as it seems.

in hope of help
tomi
 
Back
Top