Regular Expressions 101

Community Patterns

Community Library Entry

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 - 9 years ago