How to extract text using regex in Actionscript?
- by Lost_in_code
In the HTML below:
<a href="link1.php">1</a><a href="link2.php">2</a><a href="link3.php">3</a>
How do I extract link1.php,link2.php,link3.php and push them into an array using regex? (There could be N number of <a> tags in the text)
[Edit] I'm aware the regex for this is something like href="([^"])*". But I'd like to know how to go about this in Actionscript. Specifically, how can they be pushed into an array in Actionscript?