Regular Expressions 101

Sponsors

Library entries

0
javascript

sql inj

as
Submitted by anonymous - 17 hours ago
0
pcre

amazIng regex

super
Submitted by anonymous - a day ago
0
golang

super regex

Get every word ending with dot using Regex/VBA
Submitted by anonymous - a day ago
0
java

Identifier Regex

Regex for identifiers
Submitted by anonymous - 3 days ago
0
pcre

Only if before

Only if needle is before target
Submitted by anonymous - 3 days ago
0
javascript

Currency

Currency
Submitted by jerryd - 4 days ago

Match Drupal admin routes

Vote

0

Regular Expression
javascript

/
^\/([a-zA-Z\-]+\/)?(admin((\/[a-zA-Z0-9\-_&=?]*)*|$)|(user\/(login|password)(\/?\?[a-zA-Z0-9\-_&=]*|$)))$
/
gm

Description

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