Re: Regular Expression Query
- From: "P" <mailnotanswered@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 30 Jan 2007 09:07:20 -0000
Rik wrote:
Hmmz, I'd use PCRE:
$shortstring = preg_replace('/,+/',', ',$longstring);
Many thanks Rik - worked perfectly!
Regards,
Pete.
.
- References:
- Regular Expression Query
- From: P
- Re: Regular Expression Query
- From: Rik
- Regular Expression Query
- Prev by Date: Re: Question about a data structure
- Next by Date: Date comparison issue
- Previous by thread: Re: Regular Expression Query
- Next by thread: for logan: pleasant newsgroup access - uk - (1/1)
- Index(es):