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,000 community submitted regex patterns...
1
URL and mailto
PCRE2 (PHP >=7.3)
RegExp to match valid URL of http://, https://, ftp://, and mailto: protocols
Submitted by
Sergey Klinov
-
4 years ago
1
Regex pattern for numeric values
Python
Positive number !
Submitted by
Cheikh Saab Bouh SOW
-
4 years ago
1
MAC Address
Python
Match mac address with :, -, ., or no dividers.
Submitted by
Brandan Neises
-
4 years ago
1
re_ip
PCRE (PHP <7.3)
match IP:port in text
Submitted by
anonymous
-
4 years ago
1
turkdevops
ECMAScript (JavaScript)
Türkiye Geliştirici Operasyonları
Submitted by
anonymous
-
4 years ago
1
Time duration from minutes to weeks suffixed by letter and whitespace separated
ECMAScript (JavaScript)
Brief Description Time duration from minutes to weeks suffixed by corresponding letter and whitespace separated. No unit of time can be omitted. Max values are enforced for minutes, hours, and days, and a max length for weeks. Case is ignored. The string should match completely from start to end. E...
Submitted by
Dorin Popa
-
4 years ago
(Last modified 4 years ago)
1
Semantec Versioning
ECMAScript (JavaScript)
Various RegEx expressions that work with Semantic Versioning,
Submitted by
Flemming Steffensen
-
3 years ago
1
Match segmented paths with '\' and '/' escaped by '\'
Java 8
Match segmented paths with '\' and '/' escaped by '\'
Submitted by
anonymous
-
3 years ago
1
Swiss MWST
PCRE (PHP <7.3)
Swiss VAT Numbers
Submitted by
igrokit
-
3 years ago
1
shortcode wordpress
PCRE2 (PHP >=7.3)
Wordpress shortcode regular expression
Submitted by
selik
-
3 years ago
1
Flexible Name Matching
Python
Flexible Name Matching This algorithm will match name-formatted strings to a minimum accuracy of 3 correct characters per value. Firstname Lastname ...
Submitted by
Gabriel Gagnon
-
3 years ago
1
Regex_questions_detect
PCRE (PHP <7.3)
if a file has questions and answers, it can detect questions
Submitted by
anonymous
-
3 years ago
1
Validate name or last-name
ECMAScript (JavaScript)
Регулярное выражение. От 1 до 15 символов, включая пробелы, исключая спец символы. На любых языках.
Submitted by
anonymous
-
3 years ago
1
PHP Multiline Error Log
PCRE2 (PHP >=7.3)
Matches multiline entries (e.g. those containing exception stack traces or just multiline values) in a PHP error log produced by error_log().
Submitted by
Anton Ukhanev
-
3 years ago
(Last modified 3 years ago)
1
Regex for chatbot to match & extract multiple command
ECMAScript (JavaScript)
Example: "/lowercase HELLO .:uppercase ::weather london" Match #1 prefix: / command: lowercase arguments: HELLO...
Submitted by
CietstHydroxide
-
3 years ago
1
Matching upto 255 number range
PCRE (PHP <7.3)
this is for matching integers from 0 to 255
Submitted by
anonymous
-
3 years ago
1
the_100_720p_hun-eng_sln
PCRE2 (PHP >=7.3)
rss filter, deluge, ncore Episodes and Seasons
Submitted by
Klein
-
3 years ago
(Last modified 3 years ago)
1
MBI Format
Java 8
Medicare Beneficiary Identifier (MBI) Format https://www.cms.gov/medicare/new-medicare-card/understanding-the-mbi-with-format.pdf
Submitted by
Chee Cheng
-
3 years ago
(Last modified 3 years ago)
1
Simple AWS ARN Regex
ECMAScript (JavaScript)
Simple AWS ARN Regex
Submitted by
anonymous
-
3 years ago
1
Persian words
PCRE2 (PHP >=7.3)
Regex for find persian letters in a string
Submitted by
Hamed Faryabi
-
3 years ago
1
...
788
789
790
791
792
...
900
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(?<=
[
\s
\.\,\!\?\"\;\:
]
|
^
)
(?=
[
A
-
Za
-
z'
]
*
?
[
bcdfghj
-
np
-
tvwxyzBCDFGHJ
-
NP
-
TVWXYZ
]
)
(?=
[
A
-
Za
-
z'
]
*
?
[
aeiouyAEIOUY'
]
)
(?:
[
A
-
Za
-
z
]
(?:
'
?
[
A
-
Za
-
z
]
){2}
|
(?:
'
?
[
A
-
Za
-
z
]
){2}
[
A
-
Za
-
z
]
)
\b
'
?
(?=
[
\s
\.\,\!\?\"\;\:
]
|
$
)
/
gm
Open regex in editor
Description
finds any 3 letter words in a text
Submitted by
anonymous
-
a year ago