Posted by Mladen Gogala on 11/19/60 11:46
On Sat, 29 Apr 2006 13:46:31 -0700, veg_all wrote: > How do you replace an occurence until a certain point: You can see my > example code below and the output: Would something like this: $string1 = preg_replace ( '/Hello.*(today)/', 'Hello *** $1' , $string1); be what you're looking for? -- http://www.mgogala.com
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming