In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Dennis Kaandorp) wrote:

> Is there a way to replace the spaces between the paths?
> This is what I mean:
> /uploads/    /by/   /dennis/
> must become
> /uploads/<4sp>/by/<3sp>dennis/

See <>. You can use the "e" or "f" modifier to 
count the number of captured spaces and write that number into your "<4sp>" 
replacement pattern.


PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to