Regular Expressions 101

Sponsors

Library entries

1
javascript

Match HMTL/WXML tag and class

Match HMTL/WXML tag and class
Submitted by ice breaker - 3 days ago
0
javascript

UA phone number

check ua phone number
Submitted by anonymous - 4 days ago
1
javascript

array path

Extract the array path from a nested path
Submitted by anonymous - 4 days ago
0
javascript

replace text in tag

find and replace text in tag
Submitted by anonymous - 6 days ago
0
javascript

only .ts .tsx .js .jsx

get files extension
Submitted by HZ - 7 days ago
0
javascript

Get YouTube ID in link

regex for get video id in link
Submitted by anonymous - 7 days ago
0
javascript

Email regex

email regex with subdomain
Submitted by anonymous - 16 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