note 116037 deleted from function.str-ireplace by salathe
| From: | salathe@php.net | Date: | Fri, 07 Nov 2014 11:07:09 +0000 |
| Subject: | note 116037 deleted from function.str-ireplace by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-200827@lists.php.net to get a copy of this message | ||
Note Submitter: Alexander Nevidomy
----
Here is a good variant for cyrillic symbols without location change:
echo preg_replace('/(макÑ)/iu', '<span
style="color:red">$1</span>',
'мÐкСималÑ');