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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 18,020 community submitted regex patterns...
7
split URL into location-resource-params (JavaScript)
ECMAScript (JavaScript)
Extract resource location, name and query parameters from a URL (JavaScript version)
Submitted by
cebence
-
11 years ago
6
search word with an accent
ECMAScript (JavaScript)
search any word with an accent
Submitted by
Thegner Pierre
-
9 years ago
6
HTML tag stripper
PCRE (PHP <7.3)
This regex will identify all html start and end tags.
Submitted by
anonymous
-
9 years ago
8
Validate Base64 single-line string
PCRE (PHP <7.3)
no description available
Submitted by
ka.
-
12 years ago
9
Youtube ID match
PCRE (PHP <7.3)
This regex will match any Youtube video ID thrown at it and return one capturing group containing the ID.
Submitted by
Jacob Overgaard
-
11 years ago
9
only numbers
PCRE (PHP <7.3)
A string with only numbers in
Submitted by
Gotts
-
9 years ago
5
parsing CSV file
PCRE (PHP <7.3)
It correctly handles simple values, empty values, and quoted values with commas inside.
Submitted by
Viktor Lova aka nsinreal
-
10 years ago
5
Latitude,Longitude fetcher
PCRE (PHP <7.3)
Useful to work with GoogleMap API.
Submitted by
anonymous
-
9 years ago
5
Password strength
ECMAScript (JavaScript)
Regular expression for password validation Rules: 8-120 chars no spaces must contain at least one a-z char must contain at least one A-Z char...
Submitted by
@razvanz
-
9 years ago
5
ipv6
PCRE (PHP <7.3)
Match an ipv6 address
Submitted by
Frusty
-
9 years ago
5
North American Phone Number
ECMAScript (JavaScript)
Validate North American phone numbers with capture groups for the Area Code, Exchange Code, Line Number, and Extension.
Submitted by
AaronBoots
-
8 years ago
6
Password
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
(Last modified a year ago)
6
Repair unquoted HTML attribute values
PCRE (PHP <7.3)
Usually MSWord HTML exports
Submitted by
Ka.
-
11 years ago
7
PAN CARD validation
PCRE (PHP <7.3)
checks for valid PAN card for Indian users.
Submitted by
karan thakkar
-
11 years ago
8
Date time Advanced
PCRE (PHP <7.3)
no description available
Submitted by
Mr.Neutro
-
11 years ago
11
Date(Including Leap Year) YYYY-MM-DD hh:mm:ss
PCRE (PHP <7.3)
Validates DateTime of format YYYY-MM-DD hh:mm:ss including Leap Year
Submitted by
Madhan
-
11 years ago
8
Alphanumeric and Spaces
PCRE (PHP <7.3)
Alow alphanumeric characters and spaces
Submitted by
JTN
-
9 years ago
(Last modified a year ago)
13
URL Validator
PCRE (PHP <7.3)
Validates - URLs with schemes - http, https and ftp Relative URL starting with / and ../
Submitted by
anonymous
-
10 years ago
14
Phone Number
ECMAScript (JavaScript)
Allows phone numbers with optional country code, optional special characters and whitespace
Submitted by
Tlmader
-
9 years ago
6
ID003 device info
PCRE (PHP <7.3)
no description available
Submitted by
sasjaq
-
11 years ago
1
...
891
892
893
894
895
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
0
?
[
1
-
9
]
|
[
12
]
[
0
-
9
]
|
3
[
01
]
)
\/
(
0
?
[
1
-
9
]
|
1
[
012
]
)
\/
\d
{4}
/
gm
Open regex in editor
Description
find date format 31/04/2023 or 31/4/2023
(0?[1-9]|[12][0-9]|3[01])/(0?[1-9]|1[012])/\d{4}
Submitted by
anonymous
-
2 years ago