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,800 community submitted regex patterns...
1
\d{4}(0[1-9]|1[0-2])(0[1-9]|[1-2]\d|30|31)T([01]\d|2[0-3])[0-5]\d[0-5]
ECMAScript (JavaScript)
yyyymmddThhmmss
Submitted by
suman
-
8 years ago
1
uri validate with a prefix
ECMAScript (JavaScript)
no description available
Submitted by
Roger Wyss
-
8 years ago
2
find action,form,forward struts
ECMAScript (JavaScript)
find action,form,forward struts Remplace @ACTION@ = action struts Remplace @FORM@ = form name struts Remplace @FORWARD@ = forward name struts
Submitted by
anonymous
-
8 years ago
2
Date between 1950 and 2050
ECMAScript (JavaScript)
Date in format MM-dd-yyyy
Submitted by
Daniel Quijada
-
8 years ago
1
RFC Persona Moral
ECMAScript (JavaScript)
no description available
Submitted by
Carlos Zaragoza
-
8 years ago
1
RFC Persona Fisica
ECMAScript (JavaScript)
no description available
Submitted by
Carlos Zaragoza
-
8 years ago
3
time format HH:mm
ECMAScript (JavaScript)
validates strings in time format HH:mm with hour in 24h format. only accepts up to 23:59
Submitted by
Kelps Leite de Sousa
-
8 years ago
(Last modified 8 months ago)
-2
Validating comma delimited strings for whitespaces & extra commas
ECMAScript (JavaScript)
Validating comma delimited strings for whitespaces & extra commas -- +(,()+){0,}
Submitted by
Cyril Mathew
-
8 years ago
1
Index filtering
ECMAScript (JavaScript)
Une expression pour définir des expressions de filtrage basé sur l'index (comme les numéros de pages dans les dialogues d'impression) Chaque segment de page est séparé par une , Chaque segment peut être sous la forme : : 4 .. : 3.. .. : 2..4...
Submitted by
olivr70
-
8 years ago
-2
Multiple Email Address Validation
ECMAScript (JavaScript)
Validates Multiple email addresses seperated by comma.
Submitted by
Rajesh Badam
-
8 years ago
0
Split by character outside quotes
ECMAScript (JavaScript)
Splits text by a character which is not inside the quotes. Example: foo:"01":"02:03":"04:05:06":"07:08:09:10" ^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^
Submitted by
.iqqmuT
-
8 years ago
0
ipv4 address
ECMAScript (JavaScript)
no description available
Submitted by
Xiaohui Xu
-
8 years ago
1
DDDD, dd MMMM
ECMAScript (JavaScript)
Friday, 23 October
Submitted by
nehakadam
-
8 years ago
0
space
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Base64 Test
ECMAScript (JavaScript)
Tests a string to see if it fits the Base64 format.
Submitted by
anonymous
-
8 years ago
1
Find C# Namespace
ECMAScript (JavaScript)
Simple regex to find the Namespace line in a C# class.
Submitted by
Erik Bartlow
-
8 years ago
1
Trim Whitespace before/after String
ECMAScript (JavaScript)
Remove whitespace before and after the string. Use g for trimming before and after Use m for trimming each line of a multiline string individually. Code: ' test '.replace( /(^\s+|\s+$)/gm, '' );
Submitted by
KevinV
-
8 years ago
6
Simple Number
ECMAScript (JavaScript)
Verifies Number is a negative/positive number. Number may be a decimal, but if it is, it requires at least one number before and after the decimal place. Decimal numbers may also be negative or positive. Only 1 decimal place is allowed.
Submitted by
David P Smith
-
8 years ago
-2
Roman numbers
ECMAScript (JavaScript)
This regex matches roman numbers from 1 (I) to 3999 (MMMCMXCIX)
Submitted by
Nicolò Ribaudo
-
8 years ago
0
Date Validation
ECMAScript (JavaScript)
This pattern validates all the possible dates for all months in YYYY-MM-DD format. Due to limitations of regex it can not validate the dates of february for leap year. It will allow the date 29 for leap year too. Make sure to validate that yourself.
Submitted by
Ashutosh Agrawal
-
8 years ago
1
...
162
163
164
165
166
...
190
Any telephone number with region and country in any format
-2
Regular Expression
ECMAScript (JavaScript)
/
(
[
\d
\(
]
[
\(\)
\s
\.\-
\d
]
{4,}
\d
)
/
g
Open regex in editor
Description
Matches any telephone number with region parentesis, or separated by points or dash or spaces
Submitted by
https://co.linkedin.com/in/andresfelipecardona
-
9 years ago