Hi, I was wondering if I can get some help with either a str_replace or a
regex. I have some data and it always begins with $$ but it can end with
any letter of the alphabet. so sometimes its $$a and sometimes its $$b
and sometimes $$c all the way to $$z. $$a all the way to $$z needs to
be
Hello Adam,
Thursday, March 18, 2004, 6:06:06 PM, you wrote:
AW Hi, I was wondering if I can get some help with either a str_replace or a
AW regex. I have some data and it always begins with $$ but it can end with
AW any letter of the alphabet. so sometimes its $$a and sometimes its $$b
AW and
From: Adam Williams [EMAIL PROTECTED]
Hi, I was wondering if I can get some help with either a str_replace or a
regex. I have some data and it always begins with $$ but it can end with
any letter of the alphabet. so sometimes its $$a and sometimes its $$b
and sometimes $$c all the way to
eregi_replace('(\$\$)([a-z].+)', '\1z', '$$a');
Maybe i'm wrong, please crosscheck.
Regards,
Firman
- Original Message -
From: Adam Williams [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 19, 2004 1:06 AM
Subject: [PHP] str_replace or regex
Hi, I was wondering if I
4 matches
Mail list logo