PHP Regular express problem
my regular expression is like this
%<h[^>]+>(.*)</h.>%i
It works perfectly if the string look like this
<H1><A NAME="SECTION000300000000000000000">2 Simple Patterns</A></H1>
But if string will look like this
<H1><A NAME="SECTION000300000000000000000">2 Simple Patterns </A> </H1>
I guess the problem is the line break or not sure..
Thanks in advance
-
Spencer Westwood -
Thanks
{{ DiscussionBoard.errors[765773].message }} -
-
xga -
Thanks - 1 reply
{{ DiscussionBoard.errors[768633].message }}-
xiaophil -
Thanks - 1 reply
{{ DiscussionBoard.errors[771509].message }}-
Aaron Sustar -
Thanks
{{ DiscussionBoard.errors[777695].message }} -
-
-