Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 13,080 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MoltenObsidian Internal Link
.NET (C#)
Provides parsing w/ named variables for MoltenObsidian-flavoured Markdown wikilinks. (https://github.com/Nodsoft/MoltenObsidian)
Submitted by
Sakura Akeno Isayeki
-
a year ago
2022-12-04 05:37
(Last modified 4 months ago)
2023-07-19 10:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find unity components guid
ECMAScript (JavaScript)
use to find unity components guid
Submitted by
anonymous
-
a year ago
2022-12-05 11:35
(Last modified a year ago)
2022-12-05 11:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
date dd.mm.yyyy
Java 8
Date format dd.mm.yyyy
Submitted by
anonymous
-
a year ago
2022-12-05 13:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
File extension
ECMAScript (JavaScript)
Parse file extension.
Submitted by
Webmato
-
a year ago
2022-12-05 16:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Negative search
PCRE (PHP <7.3)
Seach pattern that doesn't match
Submitted by
Gael Langlais
-
a year ago
2022-12-05 20:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Amount (Number with two decimal places)
ECMAScript (JavaScript)
| valid | invalid | |:----------|:------------| | 0.00 | 1 | | 0.99 | 1. | | 10.00 | 1.9 | | 999.99 | 1,99 |...
Submitted by
anonymous
-
a year ago
2022-12-06 11:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Capture Words
ECMAScript (JavaScript)
Get each word from a text.
Submitted by
anonymous
-
a year ago
2022-12-06 12:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
import syntax for regex with grouping
ECMAScript (JavaScript)
HAYO!
Submitted by
CreeJee
-
a year ago
2022-12-07 14:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MyRegex
ECMAScript (JavaScript)
Parse
Submitted by
anonymous
-
a year ago
2022-12-08 06:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
First letter of compound name with accent (space, apostrophe and hyphen)
ECMAScript (JavaScript)
First letter of compound name with accent (space, apostrophe and hyphen)
Submitted by
Nale974
-
a year ago
2022-12-09 11:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IPv4 Address Validation Regex
Golang
IPv4 Address Validation Regex
Submitted by
ulgena
-
a year ago
2022-12-09 13:08
(Last modified a year ago)
2022-12-09 13:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
VLAN ID Validation Regex
Golang
VLAN ID Validation Regex Please use first segment or second depending on the Extended VLAN usage such as "1-256" or "1-4096" : Non-extended VLAN IDs (1-256), check v2 of the regex entry ...
Submitted by
ulgena
-
a year ago
2022-12-09 13:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match import lines
ECMAScript (JavaScript)
Match import lines to disable spelling error in package names.
Submitted by
anonymous
-
a year ago
2022-12-09 18:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
email valid
Java 8
email validation
Submitted by
Hoot
-
a year ago
2022-12-12 02:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
1-100
PCRE (PHP <7.3)
1-100
Submitted by
anonymous
-
a year ago
2022-12-12 09:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Dutch postalcode regex
ECMAScript (JavaScript)
Matches first postal code, case insensitive
Submitted by
anonymous
-
a year ago
2022-12-12 12:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Whatsapp group message id
PCRE (PHP <7.3)
Whatsapp group message id
Submitted by
anonymous
-
a year ago
2022-12-16 05:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL SERVER
ECMAScript (JavaScript)
Регулярное выражения для проверки URL адреса сервера
Submitted by
anonymous
-
a year ago
2022-12-16 10:20
(Last modified a year ago)
2022-12-16 10:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex to match all instances not inside quotes
PCRE (PHP <7.3)
See https://stackoverflow.com/questions/6462578/regex-to-match-all-instances-not-inside-quotes
Submitted by
anonymous
-
a year ago
2022-12-16 16:01
(Last modified a year ago)
2022-12-16 17:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex to match all instances not inside quotes (inc escaped quotes)
ECMAScript (JavaScript)
See https://stackoverflow.com/questions/6462578/regex-to-match-all-instances-not-inside-quotes
Submitted by
anonymous
-
a year ago
2022-12-16 16:02
1
...
639
640
641
642
643
644
645
...
654
Regex for telephone numbers all over the world
72
410 upvotes, 338 downvotes (score 51.2%) (You must be signed in to vote)
Regular Expression
Recommended
This entry has been specifically selected by our team to be a great submission
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
Loading markdown...
Submitted by
Aditya Joshi
-
10 years ago
2014-04-08 07:58
(Last modified 2 months ago)
2023-10-09 14:47