Welcome to WebmasterWorld Guest from 54.167.155.147

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

need to write a simple regex

need help

   
10:51 pm on Feb 1, 2006 (gmt 0)

10+ Year Member



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)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



$string = preg_replace("/======Some text======.*$/is", "", $string);