Looking for tips on what characters I should be escaping in my regular expressions to prevent exploits.
e.g
Regular Expression Injection
The PCRE function preg_replace() function in PHP allows for an “e” (PREG_REPLACE_EVAL) modifier which means the replacement string will be evaluated as PHP after subsitution. Untrusted input used in the replacement string could therefore inject PHP code to be executed.
or here: http://hauser-wenz.de/playground/papers/RegExInjection.pdf
In general for sql injections there are lots of guides and tips to follow but cant find much about regex injection