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 11,600 community submitted regex patterns...
0
Quiz Feed – Pages Only
PCRE (PHP <7.3)
The new quiz feed pages and its sub-feeds. i.e. /quizzes/foo
Submitted by
anonymous
-
2 years ago
-2
Quizzes Feedpager – XML
PCRE (PHP <7.3)
Matches the XML pages of the /quizzes routes for feedpager
Submitted by
anonymous
-
2 years ago
0
Day, year and month regex
PCRE2 (PHP >=7.3)
This regex allows to match date format with the same separators
Submitted by
Cymon
-
2 years ago
0
get arrays from Json
PCRE (PHP <7.3)
get arrays from Json
Submitted by
fawaz
-
2 years ago
0
Match CamelCase
PCRE2 (PHP >=7.3)
Matches PascalCase or CamelCase
Submitted by
anonymous
-
2 years ago
0
IPv4 non zero first and last octet
PCRE2 (PHP >=7.3)
When validating an IPv4 address I often have to reject devices that the first and last octet are 0.
Submitted by
John Cutburth
-
2 years ago
0
nr_classe
PCRE2 (PHP >=7.3)
separação de um código numérico simples
Submitted by
anonymous
-
2 years ago
0
General regular expressions
PCRE2 (PHP >=7.3)
General
Submitted by
Stavros
-
2 years ago
0
Database_Data_Type
PCRE2 (PHP >=7.3)
Database_Data_Type
Submitted by
anonymous
-
2 years ago
0
Italian phone number regex
PCRE (PHP <7.3)
Italian phone number reg
Submitted by
Ali Babayev
-
2 years ago
0
PCRE2 ipv6
PCRE2 (PHP >=7.3)
Some cases of ipv6 at string begin
Submitted by
anonymous
-
2 years ago
0
LinkedIn School Username
PCRE2 (PHP >=7.3)
x
Submitted by
anonymous
-
2 years ago
1
Worlde helper
PCRE2 (PHP >=7.3)
simple, just adjust that: contains letters "l z n" (probably can be simplified but I dont know how) exlude anywhere "rtuasgc" dictionary taken from wordle JS file
Submitted by
anonymous
-
2 years ago
0
提取src
PCRE2 (PHP >=7.3)
提取src
Submitted by
anonymous
-
2 years ago
0
Last 4 charecters
PCRE2 (PHP >=7.3)
This regex allows you to access the last 4 charecters in a string and manipulate them however you want
Submitted by
anonymous
-
2 years ago
0
Danish CPR number validation
PCRE (PHP <7.3)
CPR number is presented with or without a dash
Submitted by
anonymous
-
2 years ago
0
quote
PCRE2 (PHP >=7.3)
quote text
Submitted by
anonymous
-
2 years ago
0
HTML TAG Match
PCRE2 (PHP >=7.3)
Match a html tag.
Submitted by
Fernando Gaston Olivera Alaniz
-
2 years ago
1
CSV quotation mark
PCRE2 (PHP >=7.3)
See quotes that are not delimiters
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
No trailing spaces or extra spaces max char 200 min 2 and hyphen and & only allowed
PCRE (PHP <7.3)
No trailing spaces or extra spaces max char 200 min 2 and hyphen and & only allowed
Submitted by
Natalia zolotareva
-
2 years ago
1
...
82
83
84
85
86
...
580
Validate HTML Id
0
Regular Expression
Python
r"
^
[
A
-
Za
-
z
]
+
[
\w
\-\:\.\_
]
+
(?!
\!\@\#\$\%\^\&\(\)\{\}\[\]\?\`\~\;\"\'\\\/\<\>\+\=\,
)
*
$
"
Open regex in editor
Description
no description available
Submitted by
Gustavo Ferreira
-
3 years ago