D
David Morel
Hi all,
It's been a while since I've used regular expressions, and I'd like a
bit of help.
I have a string of html --- $html. What I want to do is to isolate the
substrings that are in between a particular tag... say between <b> and
</b>.
So if $html = "asdf asdf asdf <b>foo</b> asdf asdf asdf <b>bar</b>", I
would like to somehow get "foo" and "bar" into an array.
This seems like it would be easy with the appropriate regexp.
Thanks!
It's been a while since I've used regular expressions, and I'd like a
bit of help.
I have a string of html --- $html. What I want to do is to isolate the
substrings that are in between a particular tag... say between <b> and
</b>.
So if $html = "asdf asdf asdf <b>foo</b> asdf asdf asdf <b>bar</b>", I
would like to somehow get "foo" and "bar" into an array.
This seems like it would be easy with the appropriate regexp.
Thanks!