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
Community Patterns
Search among 3,580 community submitted regex patterns...
0
Exclude a specific folder path
ECMAScript (JavaScript)
Exclude a specific folder path(/upgrade)
Submitted by
anonymous
-
2 years ago
0
CMake problem matcher
ECMAScript (JavaScript)
CMake problem matcher
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Parse Rx DataMatrix
ECMAScript (JavaScript)
Parse Rx DataMatrix
Submitted by
hoangitk
-
2 years ago
0
Select last paragraph of a text
ECMAScript (JavaScript)
Selects the last paragraph of a text.
Submitted by
Optimiza.tech
-
2 years ago
0
S3 Path with ending .json
Golang
S3 Path with ending .json
Submitted by
Sowmith
-
2 years ago
0
NPM Module ID
ECMAScript (JavaScript)
Match import
Submitted by
anonymous
-
2 years ago
0
regex text inside html tag
ECMAScript (JavaScript)
regex
Submitted by
anonymous
-
2 years ago
0
cuts amazon url
ECMAScript (JavaScript)
with a url of aws cuts the url
Submitted by
d3w3r
-
2 years ago
0
ipOrIpRangeOrCidrWithWildcard
ECMAScript (JavaScript)
ip Or IpRange Or Cidr With Wildcard
Submitted by
anonymous
-
2 years ago
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
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
-
a year 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
-
a year ago
(Last modified a year ago)
0
https
ECMAScript (JavaScript)
https
Submitted by
anonymous
-
a year 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
-
a year 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
-
a year ago
0
Minecraft Username
ECMAScript (JavaScript)
Use this RegEx to match a minecraft username JavaEdition only!
Submitted by
qreepex
-
a year 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
-
a year ago
(Last modified a year ago)
0
decode
ECMAScript (JavaScript)
.decode > decode_p2
Submitted by
anonymous
-
a year ago
0
Match Integromat time
ECMAScript (JavaScript)
Create groups for each part of timecode from Integromat.
Submitted by
Kirsten Jordaan
-
a year ago
1
...
167
168
169
170
171
...
179
Phone Number
14
Regular Expression
ECMAScript (JavaScript)
/
^
(
[
+
]
?
\d
{1,2}
[
-
\s
]
?
|)
\d
{3}
[
-
\s
]
?
\d
{3}
[
-
\s
]
?
\d
{4}
$
/
Open regex in editor
Description
Allows phone numbers with optional country code, optional special characters and whitespace
Submitted by
Tlmader
-
9 years ago