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
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
-
4 years ago
1
Match segmented paths with '\' and '/' escaped by '\'
Java 8
Match segmented paths with '\' and '/' escaped by '\'
Submitted by
anonymous
-
4 years ago
1
Swiss MWST
PCRE (PHP <7.3)
Swiss VAT Numbers
Submitted by
igrokit
-
4 years ago
1
shortcode wordpress
PCRE2 (PHP >=7.3)
Wordpress shortcode regular expression
Submitted by
selik
-
4 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
-
4 years ago
1
Regex_questions_detect
PCRE (PHP <7.3)
if a file has questions and answers, it can detect questions
Submitted by
anonymous
-
4 years ago
1
Validate name or last-name
ECMAScript (JavaScript)
Регулярное выражение. От 1 до 15 символов, включая пробелы, исключая спец символы. На любых языках.
Submitted by
anonymous
-
4 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
-
4 years ago
(Last modified 4 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
-
4 years ago
1
Matching upto 255 number range
PCRE (PHP <7.3)
this is for matching integers from 0 to 255
Submitted by
anonymous
-
4 years ago
1
the_100_720p_hun-eng_sln
PCRE2 (PHP >=7.3)
rss filter, deluge, ncore Episodes and Seasons
Submitted by
Klein
-
4 years ago
(Last modified 4 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
-
4 years ago
(Last modified 4 years ago)
1
Simple AWS ARN Regex
ECMAScript (JavaScript)
Simple AWS ARN Regex
Submitted by
anonymous
-
4 years ago
1
Persian words
PCRE2 (PHP >=7.3)
Regex for find persian letters in a string
Submitted by
Hamed Faryabi
-
4 years ago
1
RegEx to add any valid US phone number inputs
PCRE2 (PHP >=7.3)
##examples of valid US phone number inputs *555-555-5555 *(555)555-5555 *(555) 555-5555 *555 555 5555...
Submitted by
@abhi00o7
-
4 years ago
1
Codice fiscale italiano
PCRE (PHP <7.3)
Regex completa per il CF. Controllo anche i casi di omocodia.
Submitted by
Virtualdummy
-
3 years ago
1
Greater manchester postcode validation
ECMAScript (JavaScript)
🤯
Submitted by
donivanes
-
4 years ago
1
...
788
789
790
791
792
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
\{
queryRunner
\}
,
(
[
\n
{}A
-
Za
-
z0
-
9.,
:
]
*
)
\{
\n
*
\s
*
user,
*
(
:
[
a
-
zA
-
Z,
]
+
)?
\n
*
\s
*
\}
as
ContextWithUser
/
gms
Open regex in editor
Description
Regex used to text replacment
Submitted by
Nathan
-
3 years ago