Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,040 community submitted regex patterns...
1
get all files
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Phone Number Extractor
PCRE (PHP <7.3)
no description available
Submitted by
Codedude
-
10 years ago
1
Trim
ECMAScript (JavaScript)
Trims a string without selecting any unnecessary text.
Submitted by
Vihan Bhargava
-
10 years ago
1
matching sentence
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Check_Email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Match IP (ipv4) addresses: [0.0.0.0]-[255.255.255.255]
PCRE (PHP <7.3)
Matches ranges from 0-255 for all four octets. Extra leading or trailing '.' invalidate the match, as do values > 255.
Submitted by
OnlineCop
-
10 years ago
-2
Check syntax port ACL VNG
ECMAScript (JavaScript)
no description available
Submitted by
nguyenvq
-
10 years ago
1
magic URL regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Dígitos com um ponto no meio (não representa um decimal)
PCRE (PHP <7.3)
no description available
Submitted by
Alexandre Daniel
-
10 years ago
1
mediainfo inform text parser
PCRE (PHP <7.3)
this regex can be used to parse out general, video and audio sections of the mediainfo.dll library inform() return to be used to create string lists or dictionaries of the container and stream metadata key/value pairs.
Submitted by
J.T. Taylor
-
10 years ago
0
media info parser
PCRE (PHP <7.3)
This regex can be used to parse the "general", "video" or "audio" stream metadata returned by the mediainfo.dll inform() call.
Submitted by
J.T. Taylor
-
10 years ago
0
Matches dash-seperated terms in.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
phone number
PCRE (PHP <7.3)
accept number , space, . and -
Submitted by
sylvain
-
10 years ago
0
trim IP
PCRE (PHP <7.3)
find leading zeros in ipv4 adresses
Submitted by
anonymous
-
10 years ago
1
IPv4 validation using recursion
PCRE (PHP <7.3)
Validate IPv4 addresses using PCRE's recursion patterns.
Submitted by
Captain Haddock
-
10 years ago
1
Find Chapter (eBook)
PCRE (PHP <7.3)
Find an specific TAG and return his content
Submitted by
Ivan Milazzotti
-
10 years ago
1
Find Italic
PCRE (PHP <7.3)
Find Html TAG with "Italic" class and returns his content.
Submitted by
Ivan Milazzotti
-
10 years ago
1
zypper
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Email regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
pERMUTACION 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
102
103
104
105
106
...
902
Community Library Entry
2
Regular Expression
Python
r"
^
(
(?P<scheme>
[^
:/?#
]
+
)
:
(?=
//
)
)?
(
//
)?
(
(
(?P<login>
[^
:
]
+
)
(?:
:
(?P<password>
[^
@
]
+
)?
)?
@
)?
(?P<host>
[^
@/?#:
]
*
)
(?:
:
(?P<port>
\d
+
)?
)?
)?
(?P<path>
[^
?#
]
*
)
(
\?
(?P<query>
[^
#
]
*
)
)?
(
#
(?P<fragment>
.
*
)
)?
"
gm
Open regex in editor
Description
Extract parts of a URL on Python
Submitted by
dixanms
-
3 years ago