Top "Preg-replace" questions

preg_replace() is a PHP function that performs string replacement using regular expressions.

Replace an upper-case string with lower-case using preg_replace() and regex

Is it possible to replace an upper-case with lower-case using preg_replace and regex? For example: The following string: $x="…

php regex preg-replace
Regex to ignore accents? PHP

Is there anyway to make a Regex that ignores accents? For example: preg_replace("/$word/i", "<b>$word&…

php regex preg-replace diacritics
Shell equivalent to PHP's preg_replace()

Greetz folks. I'm looking for a way to do the same stuff than PHP's preg_replace() does (search text matching …

php regex bash preg-replace unix