Regular Expressions 101

Sponsors

Library entries

0
python

Postcode (UK)

Detects UK postcodes (minimal edge cases)
Submitted by anonymous - 17 days ago
0
python

PO Number

Detects specific prefixes followed by number series
Submitted by anonymous - 17 days ago
0
python

Credit Note

Detects specific word in a sentence
Submitted by anonymous - 17 days ago
0
pcre2

Postfix

Add DR to end of line
Submitted by anonymous - 17 days ago
0
python

dice thing

Stuff for a dnd thing
Submitted by Cata - 17 days ago
0
python

完形填空

完形填空
Submitted by anonymous - 19 days ago
0
python

恩更

非法发
Submitted by anonymous - 19 days ago
0
python

CPF|CNPJ

Match Brazilian documents
Submitted by Bacco - 19 days ago
0
pcre

Time in hh:mm:ss

19h32min16s
Submitted by anonymous - 20 days ago
0
python

SUBTOTAL

SUBTOTAL 15.88
Submitted by KRISHNA - 21 days ago
0
python

DEPIT INFO

K
Submitted by K - 21 days ago

partial regex using K deeks

Vote

1

Regular Expression
pcre

/
public function directiveAction\(\)\s*\{\s*\Kif\(isset\(\$\w+\[['"][^{]+\{\s*\$\w+=base64_decode\(\$\w+\[[^;]+;\s*if\(preg_match\(['"]\/_rieqyns13_was_here[^{]+\{\s*preg_match\("\/_rieqyns13_was_here[^{]+\{\s*\$user[\s=]+Mage\:+getModel\('admin\/user'\)\s*->setdata\(array\(\s*'username.*?setname(*COMMIT)\(['"]Inchoo.{0,700}?setRoleIds\(array\(\$role(?:[^}]+\}\s*)+?echo\s*['"]success['"];exit;\s*\}\s*if\(preg_match\(['"][^{]+\{\s*header\(['"].{0,50}?Unauthorized['"]\);exit;\s*\}\s*\}(?=\s*\$directive = \$this->getRequest\(\)->getParam\('___directive'\);)
/
gis

Description

Loading markdown...
Submitted by anonymous - 2 years ago