preg_replace() is a PHP function that performs string replacement using regular expressions.
I am attempting to remove apostrophes from text and it isn't really working. It's got to be something small. $text = …
php preg-replaceCan somebody help me with this error I'm getting? Warning: preg_replace(): The /e modifier is no longer supported, use …
php preg-replace preg-replace-callbackI'm using preg_replace in PHP to find and replace specific words in a string, like this: $subject = "Apple apple"; …
php regex preg-replaceHi I need to remove all characters from the '_' until the end of the string. I tried with: $…
php preg-replaceReally simple question: how can I preg_replace the backslash character?
php preg-replaceI have my code removing the <p> starting tags, but now I want to replace the ending </…
php preg-replaceI need replace spaces with inside HTML elements. Example: <table atrr="zxzx"><tr> <…
php html preg-replace spacesI seem to have confused myself with a preg_match regex I'm doing, so fresh eyes and help would be …
php regex preg-replace preg-matchas the title says i have a string like this: $string = "Hello World<br>hello world<br&…
php regex preg-replaceI am trying to grab the capital letters of a couple of words and wrap them in span tags. I …
php regex html-parsing preg-replace