Regular Expressions 101

Sponsors

Library entries

1
pcre2

Persian words

Regex for find persian letters in a string
Submitted by Hamed Faryabi - a year ago
1
pcre2

Binary code regular expression

Regular expression for binary code.
Submitted by Pythack - a year ago
1
pcre2

phonebook

remove all unwanted character from telephone numbers list
Submitted by kp - a year ago
1
pcre2

test

test
Submitted by tf - a year ago
1
pcre2

Instagram reel Id

get instagram reels id
Submitted by anonymous - a year ago

object

Vote

2

Regular Expression
pcre2

/
(?(DEFINE)(?P<space>[\s\n]*))(?(DEFINE)(?P<string>("[^"]*")))(?(DEFINE)(?P<integer>\d+))(?(DEFINE)(?P<PValue>((?P>string)|(?P>integer))))(?(DEFINE)(?P<PSV>(?P>space):(?P>space)))(?(DEFINE)(?P<PSP>(?P>space),(?P>space)))(?(DEFINE)(?P<PName>(?P>string))(?>(?P>PSV)))(?(DEFINE)(?P<property>(?P>PName)(?>(?P>PSV))(?P>PValue)(?>(?P>PSP)?)))"progressive"(?P>PSV)\[(?P>space)({(?P>property)*}(?P>PSP)?)*]}
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago