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...
1
URL REGULAR EXPRESSION CHALLENGE
PCRE (PHP <7.3)
Follow the instructions to match/don't match the following urls. Then post to comminity with title: [URL CHALLENGE]:
Submitted by
kostas trichas
-
10 years ago
0
Challenge: Create regular expression that matches the following urls
PCRE (PHP <7.3)
Note the 2 lines separated urls. These should NOT match
Submitted by
kostas trichas
-
10 years ago
0
phone number (simple validate)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2
Regex Capture String
PCRE (PHP <7.3)
Capture out Parts using regular expressions
Submitted by
Brandon
-
10 years ago
1
DNS SOA
PCRE (PHP <7.3)
oneliner SOA record matching regexp. like "ns1.domain.com.ge. mail.ns1.domain.com.ge. (2014061613 3600 600 604800 1800 )" without @ IN SOA in begging, usefull when implementing something like DNS GUI.
Submitted by
Nick Chkhikvishvili
-
10 years ago
1
Double dollar delimited centred LaTeX equation
Python
Find all instances of a double dollar delimited centred LaTeX equation, for use with e.g. KaTeX
Submitted by
drewsberry
-
10 years ago
0
Single dollar delimited LaTeX equation
Python
Find single dollar delimited LaTeX equations, for use with e.g. KateX
Submitted by
drewsberry
-
10 years ago
1
Match date from calendar as string
PCRE (PHP <7.3)
Match date from calendar as string
Submitted by
anonymous
-
10 years ago
-2
1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
18
Email validation
PCRE (PHP <7.3)
no description available
Submitted by
tutsplus.com
-
10 years ago
0
Match all html tags
PCRE (PHP <7.3)
no description available
Submitted by
Kostas Trichas
-
10 years ago
1
Get all HTML tag names
PCRE (PHP <7.3)
no description available
Submitted by
Kostas Trichas
-
10 years ago
1
Parse JSON key value
PCRE (PHP <7.3)
no description available
Submitted by
Kostas Trichas
-
10 years ago
0
Parse JSON key value pair
PCRE (PHP <7.3)
no description available
Submitted by
Kostas Trichas
-
10 years ago
0
url GET parameters
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
t
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
3
Get URL parameters
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
9
Extract url GET parameters
PCRE (PHP <7.3)
Returns key/value pair of a url. Also works with google fonts which has additional information
Submitted by
anonymous
-
10 years ago
1
Extract google fonts key, value, options
PCRE (PHP <7.3)
This regular expression is used to extract google font information from the embeded url
Submitted by
anonymous
-
10 years ago
2
parse images
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
878
879
880
881
882
...
901
Community Library Entry
2
Regular Expression
ECMAScript (JavaScript)
/
^
(
.
?
)
(
.
?
)
(
.
?
)
(
.
?
)
(
.
?
)
.
?
\5\4\3\2\1
$
/
Open regex in editor
Description
Captures a palindrome of 9 digits or less
Submitted by
anonymous
-
8 years ago