Search code examples
Sanitize and standardize a string that contains an indeterminate sequence of delimiting characters a...


phpregexstringsanitizationdelimited

Read More
Find value in a column of a 2d array when non-digital characters may interfere...


phparraysmultidimensional-arrayphone-numbersanitization

Read More
Sanitizing a Date...


phpsanitization

Read More
Remove time expressions from a flat array of datetime strings...


phparraysdatetimesanitizationtruncation

Read More
Merge data from qualifying rows of a 2d array into a flat associative array...


phparraysassociative-arraysanitizationmerging-data

Read More
Truncate string before ampersand...


phpstringurltruncatesanitization

Read More
Keep only the last two elements of every row of a 2d array...


phparrayssanitization

Read More
Remove the time substring from an array of datetime strings...


phparraysdatetimesanitization

Read More
Remove HTML tags and square braced tags in text, but do not remove PHP tags or their contents...


phppreg-replacesanitizationstrip-tags

Read More
How to prevent bleach from escaping > (blockquote) tag used in Markdown...


pythonhtmldjangomarkdownsanitization

Read More
Python Input Sanitization...


pythonformsvalidationinputsanitization

Read More
Remove <img> tag from an HTML string if the tag's src value contains a nominated string...


phphtmlweb-scrapingreplacesanitization

Read More
Convert string to slug with no consecutive hyphens...


phpstringslugsanitizationkebab-case

Read More
Remove thousands separator from numeric string...


phpnumber-formattingnumericsanitizationdigit-separator

Read More
Translate PHP slugifying function to jQuery...


javascriptjqueryreplaceslugsanitization

Read More
CakePHP - Sanitize::clean leaving &amp and \n...


phpcakephpsanitization

Read More
Get the filename (basename) value from $_SERVER['REQUEST_URI']...


phpfilenamestext-extractionsanitizationbasename

Read More
Get the host substring from a URL string...


phpurltext-extractionsanitizationurl-parsing

Read More
Find and redact an email address in a string...


phpemailreplacesanitizationredaction

Read More
Remove "backslash n" (newline) in $_POST data...


phpstringnewlinesanitization

Read More
How to replace a literal string?...


phpstringreplacepreg-replacesanitization

Read More
Remove backslashes in printed json string...


phpsanitizationbackslash

Read More
Sort or ORDER BY database results by a column after removing irrelevant keywords...


phpsortingsql-order-bysanitization

Read More
Remove the non-numeric prefix from array elements before using array in a database query's IN() ...


phpmysqlarraysprefixsanitization

Read More
Remove non-<img> tags from string...


phphtmlregexsanitizationstrip-tags

Read More
Remove excess newlines/whitespace from multi-line <img> tag in HTML string...


phpregeximagemultilinesanitization

Read More
Get sequences of numeric values which have a distinctive starting format as a sanitized array of del...


phpregexpreg-matchtext-extractionsanitization

Read More
Eliminate meaningless words from a block of text...


phpregexpreg-replacesanitization

Read More
Remove duplicated words from a space delimited string...


phpregexduplicatescpu-wordsanitization

Read More
Remove hash symbols from string (str_replace() doesn't modify by reference)...


phpstringreplacesanitization

Read More
BackNext