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 12,620 community submitted regex patterns...
0
match street address
PCRE (PHP <7.3)
match street address with no more than 6 numbers and no special characters
Submitted by
anonymous
-
2 years ago
0
域名规则
ECMAScript (JavaScript)
域名规则
Submitted by
anonymous
-
2 years ago
0
css class
PCRE (PHP <7.3)
css class
Submitted by
anonymous
-
2 years ago
0
Find lines with more than two dots
ECMAScript (JavaScript)
more than two dots
Submitted by
Leonard Deutsch
-
2 years ago
0
img html tag to xml
ECMAScript (JavaScript)
img html tag to xml Make sure it is an img tag before proceed
Submitted by
anonymous
-
2 years ago
0
Check password
PCRE (PHP <7.3)
Checks that a password has a minimum of 8 characters, at least 1 uppercase letter, 1 lowercase letter, and 1 number.
Submitted by
letrongtanbs
-
2 years ago
0
Parse html tag attributes into key:value pairs
ECMAScript (JavaScript)
([a-zA-Z\//]){0}\s(?[a-zA-Z]+)=?("(?[A-Za-z\d\s;:.\-\/\\%]*)")?
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
URL Validation JS
ECMAScript (JavaScript)
Domain can be an IP address, except 0.0.0.0 Domain with length of 1 accepted Only acceptable symbol in Domain is "-" (hyphen) Not allowed in start, end or twice in a row (same for "." (dot))...
Submitted by
Artur
-
2 years ago
(Last modified 2 years ago)
0
Phone # Validation
ECMAScript (JavaScript)
This recognizes phone numbers, including country codes if they're present.
Submitted by
Phoenix Staley
-
2 years ago
0
Thai citizen
PCRE (PHP <7.3)
rule for parse thai citizen card
Submitted by
socool
-
2 years ago
0
Thai credit card
PCRE (PHP <7.3)
rule for parse thai credit card
Submitted by
socool
-
2 years ago
0
Thai car register
PCRE (PHP <7.3)
rule for thai registered car
Submitted by
socool
-
2 years ago
0
Simple password validator
ECMAScript (JavaScript)
verify that a password string is from length 8 - 16, while allowing word and non-word characters.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Find WikiRace baseURL
ECMAScript (JavaScript)
https://github.com/d-k-bo/WikiRace
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Token Delimiter
PCRE (PHP <7.3)
Token Delimiter
Submitted by
anonymous
-
2 years ago
0
ASD
PCRE (PHP <7.3)
HI
Submitted by
anonymous
-
2 years ago
0
match comments
PCRE (PHP <7.3)
/** comments */ // to the end /* comments */
Submitted by
monk
-
2 years ago
0
Truncate words to only 2 first characters of the word
ECMAScript (JavaScript)
It grabs 2 first characters from a word. So: please will be pl sure and sun will be su white and what will be wh ...
Submitted by
anonymous
-
2 years ago
0
check mail
ECMAScript (JavaScript)
Vérifie si le mail est valide ou non
Submitted by
anonymous
-
2 years ago
0
Match all filenames in any URL including those with ANSI escaped characters (Js/python version)
ECMAScript (JavaScript)
Match all filenames in any URL including those with ANSI escaped characters (Js/python version).
Submitted by
The Fourth Bird
-
2 years ago
(Last modified 2 years ago)
1
...
611
612
613
614
615
...
631
Remove Widows (PHP)
7
Regular Expression
PCRE (PHP <7.3)
/
\s
(
(
[
a
-
zA
-
Z
]
+
\-
[
a
-
zA
-
Z
]
+
|
[
a
-
zA
-
Z
]
+
)
\.
)
/
g
Open regex in editor
Description
Adds a non-breaking space between the last two words of sentences
Submitted by
herkulano
-
9 years ago