Hello Erik,
Hello everyone,
I am trying to learn how to use ereg_replace(), but I don't seem to be
doing it correctly.
$phone is a 10-digit string.
I want to perform the following:
$phone = ereg_replace(.{10}, [part where I am confused], $phone);
I would like the output to be
liljim,
Thanks for the advice (and especially the explanation!) -- I note that
you chose the Perl regexp engine rather than the e regexp engine
(POSIX?). Quite a few people recommended O'Reilly's Mastering Regular
Expressions over the weekend. Does anyone know if it covers the Perl
Hi Erik,
Thanks for the advice (and especially the explanation!) -- I note that
you chose the Perl regexp engine rather than the e regexp engine
(POSIX?). Quite a few people recommended O'Reilly's Mastering Regular
Expressions over the weekend. Does anyone know if it covers the Perl
To: liljim
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: help using ereg_replace()
liljim,
Thanks for the advice (and especially the explanation!) -- I note that
you chose the Perl regexp engine rather than the e regexp engine
(POSIX?). Quite a few people recommended O'Reilly's Mastering Regular
4 matches
Mail list logo