Regular Expressions 101

Sponsors

Library entries

0
javascript

Matches filenames in urls

Filenames in urls
Submitted by anonymous - 5 days ago
0
pcre

inefficient int/float(exponent)

match a single number
Submitted by anonymous - 8 days ago
0
javascript

sql inj

as
Submitted by anonymous - 9 days ago
0
pcre

amazIng regex

super
Submitted by anonymous - 9 days ago
0
golang

super regex

Get every word ending with dot using Regex/VBA
Submitted by anonymous - 9 days ago
1
pcre

Only if before

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

Currency

Currency
Submitted by jerryd - 12 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