Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

Description

Very simple sanitizer. Will escape quotation marks, backslashes and apostrophes ("') in order reduce the risk of SQL injections. Please note that SQL versons that supports URL or other kinds of encoding may still be vanurable.

Submitted by anonymous - 8 years ago