| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|need to write a simple regex|
| 10:51 pm on Feb 1, 2006 (gmt 0)|
i need to write a simple regex for php that would remove a signature.
it starts with '======Some text======'
and its followed by few lines of text with links.
i want to remove every thing starting from '======Some text======'
| 5:00 am on Feb 2, 2006 (gmt 0)|
$string = preg_replace("/======Some text======.*$/is", "", $string);
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved