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,620 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 (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)
腾讯视频
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)
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)
FullName_regex
Java 8
2135
Submitted by
anonymous
-
a year ago
2022-07-14 15:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
THE BEST RegEx for extracting filename without extension and extension from any path
PCRE (PHP <7.3)
THE BEST RegEx for extracting filename without extension and extension from any path
Submitted by
anonymous
-
a year ago
2022-07-16 08:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Cron Syntax
Java 8
This checks the syntax for CRON
Submitted by
Till Hummel
-
a year ago
2022-07-18 13:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bangladeshi Mobile and Telephone Number
Java 8
Matches with Bangladeshi Mobile and Telephone Numbers
Submitted by
kaziNAHIAN
-
a year ago
2022-07-21 10:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
test1
PCRE (PHP <7.3)
test1
Submitted by
anonymous
-
a year ago
2022-07-23 23:30
1
...
469
470
471
472
473
474
475
...
481
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