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 9,720 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
LinkedIn Profile Url
Java 8
LinkedIn Profile Url
Submitted by
Morons
-
a year ago
2022-06-18 09:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
lat cyr letters
Java 8
only lat and cyr letters
Submitted by
anonymous
-
a year ago
2022-06-20 05:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Token Delimiter
PCRE (PHP <7.3)
Token Delimiter
Submitted by
anonymous
-
a year ago
2022-06-20 15:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ASD
PCRE (PHP <7.3)
HI
Submitted by
anonymous
-
a year ago
2022-06-24 05:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match comments
PCRE (PHP <7.3)
/** comments */ // to the end /* comments */
Submitted by
monk
-
a year ago
2022-06-24 11:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match all filenames in any URL including those with ANSI escaped characters (dotNET version)
.NET (C#)
Match all filenames in any URL including those with ANSI escaped characters (dotNET version)
Submitted by
The Fourth Bird
-
a year ago
2022-06-26 16:08
(Last modified a year ago)
2022-06-27 09:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match all filenames in any URL including those with ANSI escaped characters (PHP version)
PCRE (PHP <7.3)
Match all filenames in any URL including those with ANSI escaped characters (PHP version).
Submitted by
The Fourth Bird
-
a year ago
2022-06-26 16:10
(Last modified a year ago)
2022-06-27 09:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Ipv4 with optional port
.NET (C#)
ipv4 with optional port
Submitted by
anonymous
-
a year ago
2022-06-27 08:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
No leading or trailing spaces
.NET (C#)
No leading or trailing spaces
Submitted by
anonymous
-
a year ago
2022-06-27 08:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
腾讯视频
PCRE (PHP <7.3)
从元素解析视频URL
Submitted by
anonymous
-
a year ago
2022-06-28 07:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
dateformat classique fr
PCRE (PHP <7.3)
12/10/1991
Submitted by
anonymous
-
a year ago
2022-06-28 15:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Fixed Email Regex (emailregex.com)
Java 8
An email regex that allows for capitals after the final dot (ie. TEST@GMAIL.COM)
Submitted by
anonymous
-
a year ago
2022-06-29 19:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
时间
Java 8
时间
Submitted by
旧信
-
a year ago
2022-06-30 08:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Wrap word in json with quotes
PCRE (PHP <7.3)
Wrap word in json with quotes
Submitted by
anonymous
-
a year ago
2022-07-01 15:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
模式测试
PCRE (PHP <7.3)
测试贪婪/非贪婪模式
Submitted by
anonymous
-
a year ago
2022-07-02 09:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Nepali phone number regex
.NET (C#)
(\+977)?9\d{8}
Submitted by
anonymous
-
a year ago
2022-07-02 10:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Replace all newlines (except double newlines) with spaces
PCRE (PHP <7.3)
In the first capturing group, match any character that isn't a newline, then, match a newline, then, in a non-capturing group, match a newline. Replace the the entire matched sequence with contents of the first capturing group followed by a space.
Submitted by
anonymous
-
a year ago
2022-07-03 11:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Network Address
PCRE (PHP <7.3)
-
Submitted by
anonymous
-
a year ago
2022-07-05 08:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Illegal characters for directory name
Java 8
Pattern matches to all illegal characters in directory name. Can be useful for normalizing the folder name before creating it
Submitted by
Vlad Yevtushenko
-
a year ago
2022-07-08 06:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Guid parser
.NET (C#)
Guid parser
Submitted by
anonymous
-
a year ago
2022-07-11 19:29
1
...
471
472
473
474
475
476
477
...
486
FullName_regex
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
^
(
[
A
-
zÀ
-
ÿ
]
{2,}
(
[
.-
]
)?
)+
(
?
(
(
[
A
-
zÀ
-
ÿ
]
){2,}
(
[
.-
]
)?
)
)*
(
(
[
A
-
zÀ
-
ÿ
]
){2,}
(
[
.-
]
)?
)+
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
a year ago
2022-07-14 15:33