How ot formulate a REGEX for this?
Posted: Sat May 23, 2009 6:09 am
Hi
Let say i have an html codes below,
What i want is to get all the link between H4 heading one and H4 heading two.
Can you show me the right REGEX syntax for this please.
Thank you in advance.
Let say i have an html codes below,
Code: Select all
<html>
<head>
</head>
<body>
<h4>this is H4 heading one</h4>
<a href="domain.com">one</a>
<a href="domain.com">two</a>
<a href="domain.com">three</a>
<h4>this is H4 heading two</h4>
</body>
</html>
Can you show me the right REGEX syntax for this please.
Thank you in advance.