Posted by kevin bailey on 04/10/06 11:05
Mike Youell wrote: > > I'd use preg_replace() instead: > > $subject = "abc-d%ef"; // Want i want to get back is 'abcdef' > > $pattern = '/[^a-zA-Z]*/'; > echo preg_replace($pattern, '', $subject); > > Cheers, > Mike Youell. Thanks for that. kev
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming