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 3,880 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
House and Senate Bills
Golang
Match a House or Senate bill in text.
Submitted by
Jason Putorti
-
4 days ago
2023-12-05 16:20
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Persian and English Title and Name and Address
ECMAScript (JavaScript)
it is a validator for name, title, address or any texts what need only accept persian-arabic alphabet and english. additional some characters like - ,
Submitted by
saebkhanzadeh
-
6 days ago
2023-12-02 21:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
文件名称验证
Java 8
操作系统文件名称验证,参考了Windows,Linux,Mac
Submitted by
腾龙问天
-
8 days ago
2023-12-01 16:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
URLs
ECMAScript (JavaScript)
A simple URL regex that can handle most "properly" formed URLs, and some URIs. It features named groups to easily destruct matches. URIs can use relative paths (../ and ./) to resources. Example (JavaScript) let url = "https://username:password@example.org:8080/path/to/resource?query=term&query=ter...
Submitted by
ephellon
-
13 days ago
2023-11-26 02:56
(Last modified 5 days ago)
2023-12-03 19:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CSS classes
ECMAScript (JavaScript)
This selects all (non crazy) CSS class in all valid scenarios
Submitted by
anonymous
-
14 days ago
2023-11-25 14:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
RegEx for Treating Express Route
ECMAScript (JavaScript)
A Regex that can be applied over the following routes pattern: GET ^\/auth\/?(?=\/|$)/generate GET ^\/auth\/?(?=\/|$)/callback Applying it inside a code, it will get like this:...
Submitted by
HorselessName
-
15 days ago
2023-11-24 04:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
verifyIPV6
Java 8
verificare indirizzo IPV6 (regole base)
Submitted by
Luigi Piccinni
-
19 days ago
2023-11-20 15:18
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
RFC 2822 standard email validation with limit of chars in name, domain name,and domain
ECMAScript (JavaScript)
Vaild: valid.email@example.com john.doe123@example.co.uk alice_smith@company.org user1234@emailprovider.net...
Submitted by
anonymous
-
21 days ago
2023-11-18 00:28
(Last modified 21 days ago)
2023-11-18 00:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Email regex for JS
ECMAScript (JavaScript)
This reges do not covering long emails. It should check domian (64) and page name(255) limits.
Submitted by
SnaYQ
-
21 days ago
2023-11-17 23:55
(Last modified 21 days ago)
2023-11-18 00:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
car licence registry (placa de carro)
ECMAScript (JavaScript)
brazilian car licence registry validation (validação de placa de carro brasileira e mercosul)
Submitted by
edurbs
-
23 days ago
2023-11-16 15:41
(Last modified 23 days ago)
2023-11-16 15:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Check Email Validity
Java 8
Regular expression to check the email syntax validity. Certainly requires improvement, but it's a good basis to work from. Work with Java and JavaScript.
Submitted by
Alain TOMASIAN <alain.tomasian@kaptus.fr>
-
24 days ago
2023-11-15 10:54
(Last modified 24 days ago)
2023-11-15 17:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Full name validation
ECMAScript (JavaScript)
Full name validation with latin caracters
Submitted by
edurbs
-
25 days ago
2023-11-14 13:31
(Last modified 23 days ago)
2023-11-16 15:45
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Gradient for minecraft
Java 8
This is for my plugin project
Submitted by
Trần Thế Anh
-
25 days ago
2023-11-14 09:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
m3u8-ffzy
ECMAScript (JavaScript)
m3u8-ffzy
Submitted by
anonymous
-
a month ago
2023-11-13 03:50
(Last modified a month ago)
2023-11-13 04:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
URL Checker
ECMAScript (JavaScript)
Allows to extract or check if the text includes different URLs, allowing for you to check different kinds of links from the simple ones up to the more complex ones that includes prefix, subdomain, domain, entire website name and subpages.
Submitted by
kyunishya
-
a month ago
2023-11-09 20:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match morse code
ECMAScript (JavaScript)
This matches morse code input and leaves word break spaces
Submitted by
Ember
-
a month ago
2023-11-06 04:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Initializing identifiers
.NET (C#)
Initializing identifiers
Submitted by
anonymous
-
a month ago
2023-11-04 12:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Simple URL validation
.NET (C#)
Validates protocol, sub-domain, domain, and top-level domain. No port number and query string parameters validation is made.
Submitted by
anonymous
-
a month ago
2023-10-27 11:27
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Kafka loki parser
Golang
Kafka loki parser
Submitted by
anonymous
-
a month ago
2023-10-24 21:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
OpenWeather API Key Regex
ECMAScript (JavaScript)
A simple regex to match API keys for OpenWeather map. Matches 32 hexadecimal character strings.
Submitted by
anonymous
-
a month ago
2023-10-24 14:29
1
2
3
4
...
194
catch inner element
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
(
\w
+
)
\(
(
[^
()
]
+
)
\)
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 months ago
2023-06-07 14:44