[RESOLVED] [2008] Again a Problem with RegEx
This is the Sites Code:
Code:
<A HREF="/?id=64072">This is The Text that i want</A></P>
<A HREF="/?id=65850">This is The Text that i want 2</A></P>
<A HREF="/?id=65967">This is The Text that i want 3</A></P>
And this is my RegEx but it doesent get: This is the Text
Code:
"(?<=\<A\sHREF=""/?id=[a-zA-Z0-9_/\.\-]*""\>).+(?=\</A\>)"
Hope somebody can help me...
Re: [2008] Again a Problem with RegEx
I think you've got too many escape characters, when questionable you can use regex.escape to find out what needs to be escaped:
Code:
Dim expression As New Regex("(?<=<A\ HREF=""/\?id=[a-zA-Z0-9_/\.\-]*"">).+(?=</A>)")