Regular Expressions 101

Sponsors

Library entries

0
pcre

match comments

/** comments */ // to the end /* comments */
Submitted by monk - 2 days ago
0
pcre

ASD

HI
Submitted by anonymous - 2 days ago
0
pcre

Token Delimiter

Token Delimiter
Submitted by anonymous - 6 days ago
0
pcre

Thai car register

rule for thai registered car
Submitted by socool - 9 days ago
0
pcre

Thai credit card

rule for parse thai credit card
Submitted by socool - 9 days ago
0
pcre

Thai citizen

rule for parse thai citizen card
Submitted by socool - 9 days ago
0
pcre

css class

css class
Submitted by anonymous - 19 days ago
0
pcre

SC23

SC23
Submitted by 00 - 22 days ago
1
pcre

Polynom

Regex to get polynomial coefficients
Submitted by Balandin Igor - 24 days ago
0
pcre

find between

find between
Submitted by anonymous - a month ago
0
pcre

Time in hh:mm:ss

19h32min16s
Submitted by anonymous - 2 months ago
0
pcre

lower case alpha and number

lower case alpha and number
Submitted by anonymous - 2 months ago

split URL into location-resource-params

Vote

3

Regular Expression
pcre

/
(?'location'.+)(?:\/(?'resource'[\w\-\._]+\.js))(?:\?(?'params'.+))?
/
gm

Description

Loading markdown...
Submitted by cebence - 8 years ago