Regular Expressions 101

Community Patterns

look for any $_POST['name']

5

Regular Expression
PCRE (PHP <7.3)

/
\=\$_POST\['[a-zA-z0-9]*'\];
/

Description

if you are as lazy as me and want to replace every "=$_POST['name'];" using Dreamweaver or any development tool that allows using regular expressions to search in current file/document.

Submitted by Kevinator - 8 years ago