Regular Expressions 101

Community Patterns

-3

IPv4 address

Python
Matches any IPv4 address
Submitted by anonymous - 8 years ago
-2

example

Python
match
Submitted by anonymous - 10 years ago
-2

eee

Python
no description available
Submitted by anonymous - 9 years ago
-2

link

Python
no description available
Submitted by NTP-[SADAS] - 9 years ago
-2

five word capture

Python
no description available
Submitted by anonymous - 9 years ago
-2

Host and domains

Python
no description available
Submitted by anonymous - 9 years ago
-2

IPv4

Python
allows for all legal IPv4 addresses
Submitted by anonymous - 9 years ago
-2

twitter usernames

Python
no description available
Submitted by anonymous - 9 years ago
-2

checklists item

Python
checklists item
Submitted by Tobias Hochgürtel - 9 years ago
-2

filter

Python
no description available
Submitted by anonymous - 9 years ago

object

2

Regular Expression
PCRE2 (PHP >=7.3)

/
(?(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 - 3 years ago