need to extract all text between the following strings, but not
include the strings.
"<!-- #BeginEditable "Title name" -->"
"<p align="center"> #### </p>"
I am using preg_match(???? , $s, $results)
but I have had no success. I tried items like.. "<!-- #BeginEditable
"Title name" -->".*."<p align="center"> #### </p>"
But have had no luck.
Please any assistenc is appreciated.
In addition, I need to use preg_replace to replace the following:
<a href="/folder2/folder1/folder/page.html">
with
<a href="site.com= page.php?option =paper&itemid= page.html">
Again, any help is appreciated. The regular expressions confuse me, my
brain is about to explode from all the trouble shooting, I guess I'm
just not smart emough to figure it out.
PLEASE HELP!!
thanks
include the strings.
"<!-- #BeginEditable "Title name" -->"
"<p align="center"> #### </p>"
I am using preg_match(???? , $s, $results)
but I have had no success. I tried items like.. "<!-- #BeginEditable
"Title name" -->".*."<p align="center"> #### </p>"
But have had no luck.
Please any assistenc is appreciated.
In addition, I need to use preg_replace to replace the following:
<a href="/folder2/folder1/folder/page.html">
with
<a href="site.com= page.php?option =paper&itemid= page.html">
Again, any help is appreciated. The regular expressions confuse me, my
brain is about to explode from all the trouble shooting, I guess I'm
just not smart emough to figure it out.
PLEASE HELP!!
thanks
Comment