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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 4,940 community submitted regex patterns...
0
Canvas user quiz url to API url
Python
Turns a URL provided by the user (copied from the address bar) into a url to access the same quiz with the Canvas LMS REST API.
Submitted by
anonymous
-
2 years ago
0
regex_honoraires_prix
PCRE2 (PHP >=7.3)
guif
Submitted by
guif
-
2 years ago
0
regex_honoraires_vf_2
PCRE2 (PHP >=7.3)
guif
Submitted by
guif
-
2 years ago
0
regex_honoraires_vf_3
PCRE2 (PHP >=7.3)
guif
Submitted by
guif
-
2 years ago
0
Email Regex
PCRE2 (PHP >=7.3)
email regex
Submitted by
anonymous
-
2 years ago
0
Split number and string
PCRE2 (PHP >=7.3)
Split number and string exp. data as below 17091327 Ren Xian Xtrcb County Bank Corporation Limited 50156 0862315402 19D 17091342 BaoDing QingYuan District Xtrcb Rural Bank Corporation Limit40156 0862315401 19D
Submitted by
anonymous
-
2 years ago
0
starts with number and ends with string or number
Python
starts with number and ends with string or number starts with +ve, -ve or decimal number
Submitted by
suraj
-
2 years ago
0
Regex to match the image mime types
PCRE2 (PHP >=7.3)
Matches the image mime types. E.g image/png, image/jpeg, etc.
Submitted by
anonymous
-
2 years ago
0
conditional lookahead (IF (pat1) or (pat2) THEN match (pat1) and/or (pat2) box
Python
Python does not support conditionals using lookaround, even though Python does support lookaround outside conditionals. (?(?=regex) then|else) is illegal in python (?=regex)then|(?!regex)else - this works. madness details in the test strings
Submitted by
PeteC
-
2 years ago
0
reverse commenting/code order
PCRE2 (PHP >=7.3)
reverses order when code is followed by comments (comments prepended with ## )
Submitted by
anonymous
-
2 years ago
0
hi
PCRE2 (PHP >=7.3)
hi
Submitted by
anonymous
-
2 years ago
0
09|10|11
PCRE2 (PHP >=7.3)
select 09|10
Submitted by
ekam230
-
2 years ago
0
C style comments
PCRE2 (PHP >=7.3)
Regular expression to match all C style comments.
Submitted by
Seymoar Regex
-
2 years ago
0
how to match for a word not to be in the input
PCRE2 (PHP >=7.3)
Not Funny vs Funny - need to match for both cases
Submitted by
anonymous
-
2 years ago
0
匹配md图片
PCRE2 (PHP >=7.3)
匹配md图片
Submitted by
anonymous
-
2 years ago
0
DOI extraction
PCRE2 (PHP >=7.3)
used to extract doi
Submitted by
Sharjeel
-
2 years ago
0
Nr2000 RegExp
PCRE2 (PHP >=7.3)
Regular exporession for Nr2000 validation
Submitted by
anonymous
-
2 years ago
0
Email Validation
Python
It won't recognize if the local-part is just one character like t@somedomain.com
Submitted by
anonymous
-
2 years ago
0
single character v2?
Python
find any standalone, non-white space character
Submitted by
anonymous
-
2 years ago
0
subdomain
PCRE2 (PHP >=7.3)
select subdomain
Submitted by
anonymous
-
2 years ago
1
...
178
179
180
181
182
...
247
ipv4
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?<!
\d
)
(?:
(?:
[
01
]
?
\d\d
?
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\.
){3}
(?:
[
01
]
?
\d\d
?
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
(?!
\d
)
/
gm
Open regex in editor
Description
Find ipv4 addresses
Submitted by
anon
-
2 years ago