i have e problem with eregi replace
| From: | Süleyman Demirkeser | Date: | Sun, 06 Jan 2002 05:11:06 +0000 |
| Subject: | i have e problem with eregi replace | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-11322@lists.php.net to get a copy of this message | ||
i have a array
$row["a"]="birinci";
$row["b"]="ikinci";
$row["c"]="üçüncü";
And i have a string
$kelime='http:a:ptth deneme yapıyorum ikinci http:b:ptth heuheu http:c:ptth eheuheu http:1:ptth';
i try to chance something in string like this command
$comment = eregi_replace( "http:([-a-z0-9\_\./~@?=%&(\\n)]+):ptth",$row["\\1"],
$kelime);
but it doesn't work
i wantted to change my string to
'birinci deneme yapıyorum ikinci ikinci heuheu üçüncü eheuheu birinci'
how can i do it
Thanx for interesting