RE: [PHP] help with regular expression

2004-07-29 Thread Michael Sims
Barbara Picci wrote: > I've a script that must strip a string when it find the first word > containing at least 4 characters; it must print the content of the > string before that word, that word, a separator and the rest of the > string. > > I've tried with ereg whit this script ([EMAIL PROTECTED]

[PHP] help with regular expression

2004-07-29 Thread Barbara Picci
Hi all, I'm trying from much days to solve a problem with a regular expression... I'm going to be crazy! I've a script that must strip a string when it find the first word containing at least 4 characters; it must print the content of the string before that word, that word, a separator and the re