Regular Expressions 101

Sponsors

Library entries

0
python

Postcode (UK)

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

PO Number

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

Credit Note

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

Postfix

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

dice thing

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

完形填空

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

恩更

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

CPF|CNPJ

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

Time in hh:mm:ss

19h32min16s
Submitted by anonymous - 19 days ago
0
python

SUBTOTAL

SUBTOTAL 15.88
Submitted by KRISHNA - 19 days ago
0
python

DEPIT INFO

K
Submitted by K - 19 days ago
0
python

Regex

wifiwnsml
Submitted by krishabj - 20 days ago
0
javascript

Email regex

email regex with subdomain
Submitted by anonymous - 20 days ago

oniguruma source group capture

Vote

0

Regular Expression
pcre

/
(?x:#sds ) (?#sdsa) #sda (?x) # extended mode) (?<!\\) # no escape in before paren) (?: # begine or end alternation noncap group) (?<begin>\( # begining pattern paren) (?: # name/index/noncap alternation noncap group) (?<named>\?\< # named ?<name>) (?<name>[\w][\w\d_]+) # capture name) >)| # end of name >) (?<indexed>(?!\?))| # indexed capture group no following ? after paren) (?<nonecap>\?[^<]) # other groups that dont capture no following < after paren) ) # name/index/noncap alternation noncap group) )| # begining pattern end) (?<end>\)) # ending paren ends group scope) )
/
gm

Description

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