Search code examples
Convert numeric words embedded in strings into their integer equivalent, then validate the mutated s...


phparraysvalidationsanitization

Read More
Remove HTML tags from strings in a flat array then join with commas...


phparraysstringsanitization

Read More
Sanitize number by removing first digit then any consecutive zeros...


phpregextext-extractionsanitization

Read More
Sanitize a number which may include dollar symbols, hyphens and dots...


phpregexnumericsanitization

Read More
Safe eval() by explitily whitelisting builtins and bailing on dunders?...


pythonevalsanitization

Read More
Sanitize a CSV string containing double quoted values...


phpcsvtext-parsingsanitization

Read More
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
BackNext