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 13,020 community submitted regex patterns...
1
hashtag
ECMAScript (JavaScript)
gfhgfhghfg
Submitted by
anonymous
-
3 years ago
1
Email Address subdomains support
ECMAScript (JavaScript)
It checks email addresses supporting subdomains name@gmail.com name.surname@fda.gov name_surmna05@kernel.org name-surname@redaktion.derspiegel.de...
Submitted by
anonymous
-
3 years ago
1
11
Java 8
11
Submitted by
11
-
3 years ago
1
Currency amount validation with sign (cents optional)
ECMAScript (JavaScript)
Allows Number: Currency amount US (cents optional) Can use US-style 123,456.78 notation Optional thousands separators; optional two-digit fraction; commas; dollar sign
Submitted by
NatZol
-
3 years ago
1
1
ECMAScript (JavaScript)
1
Submitted by
anonymous
-
3 years ago
1
Parse Kubernetes Resource URI Paths
Golang
This regex extracts Kubernetes Resource URIs. Copyright 2021 Mathew Wicks Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License....
Submitted by
Mathew Wicks
-
3 years ago
1
Save everything between <code>...</code> brackets
PCRE (PHP <7.3)
This is what I created to paste in web page source code and regex to extract content between whichever HTML brackets that I choose.. In this case, it's the HTML brackets.
Submitted by
https://dug.to
-
2 years ago
1
Extract everything between TD brackets
PCRE (PHP <7.3)
This is used to extract everything between TD brackets.
Submitted by
<a href="https://www.dug.to">Regex101</a>
-
2 years ago
1
Screencast.com video url regex
PCRE (PHP <7.3)
Screencast.com video url regex
Submitted by
anonymous
-
2 years ago
1
Track1 credit card dump
ECMAScript (JavaScript)
Captures group that is either AMEX, MC, or Visa with or without start and end sentinels including discretionary data after section for name Does not support 13 digit credit cards, as they are not used anymore. Only allows for 15 digit AMEX and 16 digit Visa or MC
Submitted by
BigDad
-
2 years ago
1
IPv4 + TCP-Port
Java 8
This regex matches a IPv4 with a TCP Port (1-65535) Example: 192.168.0.69:1337 will match and have the groups: Group 1: 192.168.0.69 Group 2: 1337
Submitted by
SIMULATAN
-
2 years ago
1
Minecraft Log Parser 1.0
ECMAScript (JavaScript)
Improvements needed
Submitted by
Crystal
-
2 years ago
1
SharePoint On-Premises Validator
ECMAScript (JavaScript)
SharePoint On-Premises Validator
Submitted by
anonymous
-
2 years ago
1
Numbers only (including decimals) ( JS work fine)
ECMAScript (JavaScript)
Rejects first symbol if 0 and all other non number (doesn't includes .123 )
Submitted by
Sofitt
-
2 years ago
(Last modified 2 years ago)
1
Anything sorounded by " "
ECMAScript (JavaScript)
Match anything inside double quote string and set the first capture group with the content
Submitted by
anonymous
-
2 years ago
1
Rick Roll
Java 8
Matches chorus of Never Going to Give You Up
Submitted by
Stephen Battista
-
2 years ago
1
Telegram Markdown Escaping Backslashed asterisks
ECMAScript (JavaScript)
Telegram Markdown V2's bold (`) can be escaped by using \`. RegExp to validate it and get the actual contents inside.
Submitted by
dcdunkan
-
2 years ago
1
ds100reg4
PCRE (PHP <7.3)
Data 100 Regular Expression 4, adapted from Princeton
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
Android Package Validation - Java Regex
Java 8
Note: replace the "\." with "\\." if you paste this on your java. The regex will match if the package name is valid. example: my.new.hello.world.app Supports: a-z 0-9 and underscore Supports multiple dots
Submitted by
dlv_dls2
-
2 years ago
1
匹配中英文括号
Java 8
可以用来替换 企业名称中的中英文括号 eg: 阿里巴巴(中国)股份 阿里巴巴(中国)股份
Submitted by
tuan_luo
-
2 years ago
1
...
583
584
585
586
587
...
651
Regex for telephone numbers all over the world
72
Regular Expression
Recommended
ECMAScript (JavaScript)
/
(?:
(
[
+
]
\d
{1,4}
)
[
-.
\s
]
?
)?
(?:
[
(
]
(
\d
{1,3}
)
[
)
]
[
-.
\s
]
?
)?
(
\d
{1,4}
)
[
-.
\s
]
?
(
\d
{1,4}
)
[
-.
\s
]
?
(
\d
{1,9}
)
/
g
Open regex in editor
Description
Detects most of the phone numbers all over the world
Submitted by
Aditya Joshi
-
10 years ago
(Last modified 8 months ago)