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 300 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email - Works 99% close to oficial Standards
Java 8
Email - Works 99% close to oficial Standards, even better
Submitted by
CryptoCode
-
a year ago
2022-06-18 08:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Instagram Profile Url Test
Java 8
Testing all known Variations of Instagram Profile Url's
Submitted by
CryptoCode
-
a year ago
2022-06-18 09:13
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)
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)
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)
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)
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)
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
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
XAML invert Grid.Column and Grid.Row to Grid.Row and Grid.Column
.NET (C#)
Inverts the 2 attributes
Submitted by
anonymous
-
a year ago
2022-07-12 10:44
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)
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)
ISO 8601:2004E Duration
.NET (C#)
Regex for validating ISO 8601:2004E durations, complete with named capture groups.
Submitted by
Sakura Akeno Isayeki
-
a year ago
2022-08-02 06:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IP Address Validator
Java 8
Validates IPv4 Address for Java
Submitted by
krzysp, jpalvesloiola
-
a year ago
2022-08-03 20:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Postgresql JDBC URI
Java 8
Formats jdbc:postgresql:database jdbc:postgresql:/ jdbc:postgresql://host/database jdbc:postgresql://user:password@host/database...
Submitted by
fantabulum
-
a year ago
2022-08-05 19:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
UK PostCode Validation
.NET (C#)
Flexible postcode validation with or without space as outlined here, but added optional space for flexibility https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/488478/Bulk_Data_Transfer_-_additional_validation_valid_from_12_November_2015.pdf
Submitted by
anonymous
-
a year ago
2022-08-06 16:29
1
...
6
7
8
9
10
11
12
...
15
ip address
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
(
[
01
]
?
\d\d
?
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\.
(
[
01
]
?
\d\d
?
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\.
(
[
01
]
?
\d\d
?
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\.
(
[
01
]
?
\d\d
?
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
"
Open regex in editor
Description
Loading markdown...
Submitted by
shyam
-
6 months ago
2023-03-13 14:07