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...
1
test
ECMAScript (JavaScript)
teste
Submitted by
test
-
9 years ago
1
Regex for e-mail verification
PCRE (PHP <7.3)
This regex checks if an email address is valid. It doesn't allow domain parts in the format [255.255.255.255]. It requires at least a domain and tld. (me@local is not allowed) It does allow quoted strings in the local part. It doesn't allow comments. Neither in the local nor in the domain part. It...
Submitted by
anonymous
-
9 years ago
1
apache log
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
IPv4 strict
PCRE (PHP <7.3)
Valid: 000.01.249.255 1.199.200.0 0.0.0.0 Invalid:...
Submitted by
MaxusR
-
9 years ago
0
International Aircraft Registration Prefixes
PCRE (PHP <7.3)
Tail numbers from http://www.skytamer.com/5.2.htm
Submitted by
anonymous
-
9 years ago
1
RIETUMU company name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
UK Postcode matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
To block Invoice virus attachment
Python
no description available
Submitted by
Edgar Lozada
-
9 years ago
1
TireLF
ECMAScript (JavaScript)
no description available
Submitted by
Saad
-
9 years ago
1
CS.com to C.org
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
PLZ Ort (German Zip-Codes and City names)
PCRE (PHP <7.3)
Erkennt alle deutschen Postleitzahlen inkl. der Ortsbezeichnung in Listen. Wenn man das Trennzeichen "\ " durch "(?:\ |\t)" ersetzt, werden auch Tabulator-getrennte Listen erkannt.
Submitted by
Samoth
-
9 years ago
1
sm subdomains
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Bible verse, biblical string in text
ECMAScript (JavaScript)
Matches biblical strings in text. Two capture groups are used - one for the books name and another for the passages of the same book. RegEx is long because it is strict!!! If you want to also match books names without specified chapter and verses use: /((?:[1234]\s?)?[a-zа-я]+)(\s?\d+(?::(?:\d+[—–-...
Submitted by
Desislavsd
-
9 years ago
1
Cyrillic URLs
Python
Matches domain name of URL, supports standart and Cyrillic IDN URLs
Submitted by
MrYodda
-
9 years ago
1
[A-Z][0-9][a-z]
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Match x86 architectures
PCRE (PHP <7.3)
Matches any uname machine string for x86 architectures. Developed for https://github.com/P-H-C/phc-winner-argon2/pull/113
Submitted by
@ranisalt
-
9 years ago
1
Find multiline links a HTML tag
Python
Find multiline links a HTML tag
Submitted by
CyberLight
-
9 years ago
1
VS2015 - Property to object
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Addresses for Dogs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
exclude a list of words
Python
exclude a list of words, in this case, "hello" and "you"
Submitted by
Z
-
9 years ago
1
...
727
728
729
730
731
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
.
*
)
(
(?:
\/\*
|
\/\/
|
--
)
.
*
)
/
g
Open regex in editor
Description
works fine for // and -- but has issue with multi line comment(/**/)
Submitted by
anonymous
-
9 years ago