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 9,220 community submitted regex patterns...
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
8
Alphanumeric and Spaces
PCRE (PHP <7.3)
Alow alphanumeric characters and spaces
Submitted by
JTN
-
9 years ago
(Last modified a year 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
Date time Advanced
PCRE (PHP <7.3)
no description available
Submitted by
Mr.Neutro
-
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
6
Repair unquoted HTML attribute values
PCRE (PHP <7.3)
Usually MSWord HTML exports
Submitted by
Ka.
-
11 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
ipv6
PCRE (PHP <7.3)
Match an ipv6 address
Submitted by
Frusty
-
8 years ago
9
only numbers
PCRE (PHP <7.3)
A string with only numbers in
Submitted by
Gotts
-
9 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
8
Validate Base64 single-line string
PCRE (PHP <7.3)
no description available
Submitted by
ka.
-
11 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
4
Phone number
PCRE (PHP <7.3)
no description available
Submitted by
Mark Landry
-
9 years ago
3
SQL select columns
PCRE (PHP <7.3)
no description available
Submitted by
Phan
-
11 years ago
3
Task 2, part 1
PCRE (PHP <7.3)
Finds all source numbers in square brackets
Submitted by
Kovalev Evgeny
-
11 years ago
3
URL with matching categories
PCRE (PHP <7.3)
Finds the protocol, subdomain, ((domain, extension)/ipaddress), port, filepath (split in path and filename), the route and the query string.
Submitted by
fps
-
10 years ago
3
PL Phone number
PCRE (PHP <7.3)
PL Phone number
Submitted by
Dawid
-
10 years ago
3
Cisco ASA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
@font-face stuff
PCRE (PHP <7.3)
bits and pieces of reusable replacements in CSS @font-face rules
Submitted by
mroncetwice
-
9 years ago
1
...
3
4
5
6
7
...
461
Community Library Entry
13
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
ftp
|
http
|
https
)
:
\/\/
)
|
(
\/
)
|
(
..
\/
)
)
(
\w
+
:
{0,1}
\w
*
@
)?
(
\S
+
)
(
:
[
0
-
9
]
+
)?
(
\/
|
\/
(
[
\w
#!:.?+=&%@!
\-\/
]
)
)?
/
Open regex in editor
Description
Validates -
URLs with schemes - http, https and ftp
Relative URL starting with / and ../
Submitted by
anonymous
-
10 years ago