Hi everyone.
I am looking through a web-page for important data which looks like this:
<a href="UniqueBeginWord.php?d=important data">UniqueEndWord</a>
I have been beating my head trying to recycle a regex to extract it, but it's not working.
Can anyone with experience in regex give me a hand trying to extrac the important data?
Note: important data contains the following: letters, numbers, colon marks (i.e.  , less than sign (i.e. <) and more than sign (i.e. >).
Sample:
PHP Code:
$string = '<a href="UniqueBeginWord.php?d=first word;;408<br>second word;;409<br>third and fourth words;;461<br>fifth word;;156<br>last word;;212'>UniqueEndWord</a>
Thanks.
|