Remove non-<img> tags from string...
Read MoreRemove excess newlines/whitespace from multi-line <img> tag in HTML string...
Read MoreGet sequences of numeric values which have a distinctive starting format as a sanitized array of del...
Read MoreEliminate meaningless words from a block of text...
Read MoreRemove duplicated words from a space delimited string...
Read MoreRemove hash symbols from string (str_replace() doesn't modify by reference)...
Read MoreSanitize/Slugify a string by replacing non-alphanumeric and non-hyphen characters...
Read MoreRemove all hash symbols in a string...
Read MoreRemoving two blacklisted characters from a string...
Read MoreReplace one or more word characters with an underscore...
Read MoreGet all float numbers following an @ symbol...
Read MoreReplace a blacklisted word even if it has extra characters between matching characters...
Read MoreRemove div element with specific class from HTML document...
Read MoreRemove any tag attributes from all closing tags found in a poorly written XML string...
Read MoreRemove parent <p> tag if its only child is an <img> tag...
Read MoreChange from preg_match() to preg_replace() and to remove matched <head> content...
Read MoreGet value of a particular key in the query string of an <a> tag's href value...
Read MoreRemove non-letters and letters not preceded by specified characters or at the start of the string...
Read MoreKeep only one instance of a specified character consecutively repeated...
Read MoreRemove language-specifier from URL path string...
Read MoreRemove letters and spaces which immediately follow the first two letters in a string...
Read MoreSanitizing user input before adding it to the DOM in Javascript...
Read MoreWhen is it best to sanitize user input?...
Read MoreTruncate string at second occurrence of a character...
Read MoreConstant FILTER_SANITIZE_STRING is deprecated...
Read MoreWhen sanitize/encode while implementing tags system like on SO...
Read MoreConvert string into slug with single-hyphen delimiters only...
Read MoreWhy doesn't preventDefault() of an input event stop changes to the value of a form element...
Read MoreRemove everything before the dash from a Laravel array...
Read MoreHow do I convert a string into safe SQL String?...
Read More