Hi
I have problems with a regular expression.
I have a html file like this:
Hello
somthing
And i want to use preg_match to get a list of all the tags in the
file:
result:
$list[0] = Hello
$list[1] = somthing
I have tryed this:
preg_match('/.*(\.*\<\/div\>).*/', $contents, $list)
Hi
I have problems with a regular expression.
I have a html file like this:
Hello
somthing
And i want to use preg_match to get a list of all the tags in the
file:
result:
$list[0] = Hello
$list[1] = somthing
I have tryed this:
preg_match('/.*(\.*\<\/div\>).*/', $contents, $list)
2 matches
Mail list logo