Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 12,820 community submitted regex patterns...
0
Match Drupal admin routes
ECMAScript (JavaScript)
Regular expression to match any Drupal admin route
Submitted by
anonymous
-
2 years ago
0
Get project name from git url
Golang
Used by Zarf to obtain the name of a repository when given a git URL.
Submitted by
Jonathan Perry
-
2 years ago
0
Kafka topic name regex
PCRE (PHP <7.3)
Kafka topic name regex
Submitted by
anonymous
-
2 years ago
0
VS Code find replace template block
ECMAScript (JavaScript)
Used with Visual Studio Code to search and replace text in between two markers. I use this to template in things that occur on multiple pages like the navigation menu. I know this can be done with javascript or servers side scripting, but sometimes I just want to pre process all of this like in the ...
Submitted by
Bishop
-
2 years ago
0
helix word motion
PCRE (PHP <7.3)
helix word motion
Submitted by
anonymous
-
2 years ago
0
Convert <a href="x">y</a> to [url=x]y[/url]
PCRE (PHP <7.3)
it took me quite some time to figure out. I hope it'll be helful to someone else.
Submitted by
anonymous
-
2 years ago
0
media timestamp hh:mm:ss.xxx
ECMAScript (JavaScript)
Any number of digits is allowed for every component. Valid examples: 42 => group 3 43.5 => group 3,4 01:02:03.04 => group 1,2,3,4 62:3.04 => group 2,3,4...
Submitted by
eumelzocker
-
2 years ago
(Last modified 2 years ago)
0
https
ECMAScript (JavaScript)
https
Submitted by
anonymous
-
2 years ago
0
Spotify ID regex
PCRE (PHP <7.3)
Spotify ID regex
Submitted by
anonymous
-
2 years ago
0
Safe EMail Validation (protected against ReDos)
ECMAScript (JavaScript)
Safe EMail validation protected against ReDos attack. It exclude all non conventionnal special char like #{%... only accept . - and _. . EMail can't start with number or specials chars. Domain accept only one subdomain and ip are available 63 Maximum characters accepted
Submitted by
J.Delauney
-
2 years ago
0
Safe EMail validation (protected against ReDos) v2
ECMAScript (JavaScript)
Safe EMail validation protected against ReDos attack. Exclude all non conventionnal special char like #{%... only accept . - and _. . EMail can't start with number or specials chars. Domain accept only one subdomain and ip are available 63 Maximum characters accepted Check for valid IP
Submitted by
J.Delauney
-
2 years ago
0
Minecraft Username
ECMAScript (JavaScript)
Use this RegEx to match a minecraft username JavaEdition only!
Submitted by
qreepex
-
2 years ago
0
Variables 2
PCRE (PHP <7.3)
chingo de cheves y desmadre
Submitted by
anonymous
-
2 years ago
0
Prune trailing zeroes.
ECMAScript (JavaScript)
Given a number it will match said number exept any trailing zeroes behind a decimal point or said decimal point if there would be no matched characters behind it. Some applications use trailing zeroes to denote precision. If your application wants to remove said trailing zeroes before displaying the...
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
decode
ECMAScript (JavaScript)
.decode > decode_p2
Submitted by
anonymous
-
2 years ago
0
Match Integromat time
ECMAScript (JavaScript)
Create groups for each part of timecode from Integromat.
Submitted by
Kirsten Jordaan
-
2 years ago
0
IBAN SPAIN ESPAÑA WITH SPACES
PCRE (PHP <7.3)
IBAN SPAIN WITH SPACES. ES12 1234 4567 8975 4662 (THIS IS AN EXAMPLE)
Submitted by
anonymous
-
2 years ago
0
SDH Subtitle Replace
ECMAScript (JavaScript)
SDH Subtitle Replace
Submitted by
anonymous
-
2 years ago
0
regex for email
ECMAScript (JavaScript)
Regex for email with testcase from page https://www.softwaretestingo.com/test-cases-for-email-field/
Submitted by
BanhPow
-
2 years ago
(Last modified 2 years ago)
0
Add Decimals
ECMAScript (JavaScript)
Format numbers with decimals
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
...
626
627
628
629
630
...
641
regex for email
0
Regular Expression
ECMAScript (JavaScript)
/
^
(
(
[
a
-
z0
-
9_"+-
]
+
\.
{0,1}
)*
(
[
a
-
z0
-
9_"+-
]
+
)
){1,64}
@
(
(
\[
{0,1}
(
[
0
-
9
]
{1,3}
.
){3}
[
0
-
9
]
{1,3}
\]
{0,1}
)
|
(
(
[
a
-
z0
-
9
]
[
a
-
z0
-
9_+-
]
+
)
(
\.
[
a
-
z
]
{2,}
)+
)
)
$
/
Open regex in editor
Description
Regex for email with testcase from page
https://www.softwaretestingo.com/test-cases-for-email-field/
Submitted by
BanhPow
-
2 years ago
(Last modified 2 years ago)