Advertisement
rAthus

[Notepad++] RegExp pour ajout htmlspecialchars() à $_POST

May 13th, 2014
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. \$_POST\[(['"]{1})([a-zA-Z\-_]+)(['"]{1})\]
  2. htmlspecialchars\($_POST[$1$2$3],ENT_QUOTES\)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement