| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|need to write a simple regex|
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======'
$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