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,040 community submitted regex patterns...
0
number with or without thousands separator(.) and decimal part(,)
PCRE (PHP <7.3)
number with or without thousands separator(.) and decimal part(,) ES: 100000; 1.646; 13323,33; 3.444.434,44
Submitted by
Basten
-
10 years ago
9
Fixo LDN CSP e SEM CSP
PCRE (PHP <7.3)
no description available
Submitted by
Marcos Müller
-
10 years ago
5
URL
PCRE (PHP <7.3)
URL Description from Dr. M. G. @ Brookes
Submitted by
anonymous
-
10 years ago
6
search word with an accent
ECMAScript (JavaScript)
search any word with an accent
Submitted by
Thegner Pierre
-
9 years ago
5
HTML img
ECMAScript (JavaScript)
Grabs all HTML tags
Submitted by
Pirate11
-
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
5
password 1upper 1lower 1number 1specialcharater
ECMAScript (JavaScript)
fjk@1Qaa$
Submitted by
Anuswadh
-
9 years ago
10
extract subdomain(if available) or domain from URL
Python
This regex should extract the subdomain, if any, or the domain, if no subdomain is used, from an arbitrary URL
Submitted by
trevi@twanda.com
-
9 years ago
11
Conventional Commits validation
Python
This regex prevents the writing of non-standard conventional commits. I'm available on my github
Submitted by
Krisque
-
3 years ago
(Last modified 3 years ago)
6
Repair unquoted HTML attribute values
PCRE (PHP <7.3)
Usually MSWord HTML exports
Submitted by
Ka.
-
12 years ago
3
HTML image tag src
ECMAScript (JavaScript)
Capture src attribute of HTML image tags
Submitted by
Simon Altschuler
-
11 years ago
-2
Remove empty HTML tags
PCRE (PHP <7.3)
Removes empty HTML tags. Was needed for old input clean-up and to keep a HTML parses from crashing. Looking for improvement on bottom test.
Submitted by
R. Sartorius
-
11 years ago
1
IPv4&IPv6 URL validation regular expression
PCRE (PHP <7.3)
no description available
Submitted by
Henry Li
-
11 years ago
8
Sentence grabber /w extra check
PCRE (PHP <7.3)
Grabs sentences including terms like: e.g. z.b. Figs.These get caught in 1st capturing group. Problem: how to only accept matching sentences which contain pattern \b\d+[a-z]{0,2}\b?
Submitted by
light0
-
11 years ago
2
Date validator for mm/dd/yy
ECMAScript (JavaScript)
no description available
Submitted by
Dheeraj Khushalani - dotnetguy.net
-
10 years ago
3
UK Postcode Checker
PCRE (PHP <7.3)
This is an improvement of the very good tH9mQ1/1. It did not pickup on the first two postcodes found here: //http://en.wikipedia.org/wiki/Postcodes_in_the_United_Kingdom
Submitted by
Flexander
-
10 years ago
5
Two or more whitespace
PCRE (PHP <7.3)
Reeplace all two or more whitespace in string with a single chararter(ej. one whitespace)
Submitted by
Lanxe
-
10 years ago
4
utf-8 hex.
PCRE (PHP <7.3)
utf-8 hex. code armenian. Firs character regexp
Submitted by
Dyxx
-
10 years ago
7
rsyslog test
PCRE (PHP <7.3)
global modifier
Submitted by
dtmland
-
10 years ago
7
Any positive integer except zero
PCRE (PHP <7.3)
no description available
Submitted by
Harsh
-
9 years ago
1
...
5
6
7
8
9
...
902
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
[
0
-
9a
-
fA
-
F
]
{512}
$
/
gm
Open regex in editor
Description
Just capital
letters and numbers
,
without special characters
. String length 512
Submitted by
Pooya Parsa Dadashi(@datamweb)
-
3 years ago
(Last modified 3 years ago)