How to extract text using regex?
Posted
by Lost_in_code
on Stack Overflow
See other posts from Stack Overflow
or by Lost_in_code
Published on 2010-05-06T08:21:52Z
Indexed on
2010/05/06
8:28 UTC
Read the original article
Hit count: 158
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)
© Stack Overflow or respective owner