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 5,660 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Get text after parenthesis.
Python
This regular expression helps to get the strings of a line that comes after a parenthesis and a blank space. Could be useful with lines of text with or similar format of the APA citation style: Author (year) title
Submitted by
anonymous
-
3 days ago
2023-11-27 11:05
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
-
4 days ago
2023-11-26 02:56
(Last modified 4 days ago)
2023-11-26 08:26
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
-
5 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
-
6 days ago
2023-11-24 04:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
IPv4+CIDR(optional)
Python
Strict validator for IPv4 with optional CIDR Disallows 00 in any octet
Submitted by
ophers
-
8 days ago
2023-11-22 15:10
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
-
10 days ago
2023-11-20 15:18
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Email Address Validation
Python
RegEx pattern to match email addresses. Visit the detailed tutorial to learn more.
Submitted by
Minh Vu
-
12 days ago
2023-11-18 09:04
(Last modified 12 days ago)
2023-11-18 09:05
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
-
12 days ago
2023-11-18 00:28
(Last modified 12 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
-
12 days ago
2023-11-17 23:55
(Last modified 12 days ago)
2023-11-18 00:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
NANP Modern Plan US Telephone / Phone number
Python
Match 10-digit phone number that mostly complies with NANP Modern Plan. https://en.wikipedia.org/wiki/North_American_Numbering_Plan Simple explanation: ...
Submitted by
makinhey
-
13 days ago
2023-11-17 01:14
(Last modified 12 days ago)
2023-11-17 20:31
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
-
14 days ago
2023-11-16 15:41
(Last modified 14 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>
-
15 days ago
2023-11-15 10:54
(Last modified 14 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
-
16 days ago
2023-11-14 13:31
(Last modified 14 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
-
16 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
-
17 days ago
2023-11-13 03:50
(Last modified 17 days ago)
2023-11-13 04:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
задание_03
Python
задание_03
Submitted by
anonymous
-
18 days ago
2023-11-12 02:13
(Last modified 18 days ago)
2023-11-12 02:23
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
-
20 days 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
-
24 days ago
2023-11-06 04:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
instagram url
Python
gets the url instagram
Submitted by
samuel06santos
-
25 days ago
2023-11-05 16:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Remove ANSI Escape Code
Python
Remove ANSI Escape Code
Submitted by
diaogong
-
25 days ago
2023-11-05 12:19
1
2
3
4
...
283
Extract text strings from repeating text fields followed by a suffix
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
Java 8
"
(
.
*
?
)
(?:
\(
#
\d
+
\)
)?
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
nilotpalc
-
2 months ago
2023-09-22 11:56