Search code examples
Replace square brace placeholder with dynamic replacement text...


phpregexdynamicpreg-replaceplaceholder

Read More
Replace a blacklisted word even if it has extra characters between matching characters...


phpregexpreg-replacesanitizationblacklist

Read More
Replace single backslash with two backslashes using preg_replace()...


phpregexescapingpreg-replacebackslash

Read More
Remove a specific key-value pair from the query string of a URI string...


phpreplaceuripreg-replacequery-string

Read More
Call function as replacement parameter of preg_replace()...


phpcallbackpreg-replace

Read More
preg_replace() with e modifier: reference object in replacement...


phpobjectreferencepreg-replace

Read More
Append text immediately after a regex match -- "$0$n" is misinterpreted by preg_replace()...


phpregexreplacepreg-replacebackreference

Read More
Remove or obscure text scraped from a web address...


phpregexpreg-replacetext-parsingredaction

Read More
Remove any tag attributes from all closing tags found in a poorly written XML string...


phpregexxmlpreg-replacesanitization

Read More
Replace curly braced placeholders where the placeholder name starts with a dollar sign...


phpregexpreg-replaceplaceholdercurly-braces

Read More
Convert snake_case string to PascalCase (aka StudlyCase)...


phpregexpreg-replacepascalcasingsnakecasing

Read More
Make first letter of whitelisted words uppercase...


phpregexcallbackpreg-replaceuppercase

Read More
Backreference \1 in replacement string of preg_replace() is not substituting the captured text from ...


phpreplacepreg-replacequotingbackreference

Read More
Escape plain text characters in a string which includes a date format expression to be passed into a...


phpdateescapingpreg-replacepreg-match

Read More
preg_replace add "00" after $1 without spaces in Replacement...


phpreplacepreg-replace

Read More
Replace placeholder between two pipes with an HTML <img> tag and use the placeholder's val...


phpregexreplacepreg-replaceplaceholder

Read More
Delete non number containing braces from string...


phpregexpreg-replacepreg-matchpreg-match-all

Read More
Remove all opening and closing parentheses in a string...


phpregexpreg-replacepcreparentheses

Read More
Why wrap a backreference number in curly braces in the replacement string of a preg_replace()?...


phpregexpreg-replace

Read More
Remove Euro price substrings from a delimited string...


phpregexstringpreg-replace

Read More
Replace preg_replace() e modifier with preg_replace_callback...


phpregexpreg-replacepreg-replace-callback

Read More
Replace all characters except letters, numbers, spaces and underscores...


phpregexpreg-replaceereg-replace

Read More
Regex capture price endings .00 and ,00...


phpregexpreg-replace

Read More
Replace preg_replace with preg_replace_callback due to e modifier deprecation...


preg-replacepreg-replace-callback

Read More
Remove square brackets from wiki markup...


phppreg-replacemarkup

Read More
PHP perl regular expression - URL not preceded by equal sign and possible single or double quote...


phpregexpreg-replacepcre

Read More
Parse <meta> tag with specified attribute and extract another attribute's value...


phpattributeshtml-parsingpreg-replacemeta-tags

Read More
How to return a regular expression match in PHP, instead of replacing...


phppreg-replace

Read More
preg_replace() versus preg_filter()...


phppreg-replacepreg-filter

Read More
Convert string into slug with single-hyphen delimiters only...


phpregexpreg-replaceslugsanitization

Read More
BackNext