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,000 community submitted regex patterns...
0
Server regex for getting directory and template name from url
PCRE2 (PHP >=7.3)
Later.
Submitted by
anonymous
-
3 years ago
0
XML Parsing for IE<9
ECMAScript (JavaScript)
All my marbles are gone.
Submitted by
Odd Stråbø
-
3 years ago
(Last modified 3 years ago)
0
Regex101
ECMAScript (JavaScript)
To submit my account
Submitted by
anonymous
-
3 years ago
0
Inserting *
ECMAScript (JavaScript)
REGEX from Formal Lang for inserting * from implicit multiplication
Submitted by
anonymous
-
3 years ago
0
camelCase Matches
PCRE (PHP <7.3)
camelCase Matches
Submitted by
anonymous
-
3 years ago
0
camelCase Matches
PCRE (PHP <7.3)
camelCase Matches
Submitted by
anonymous
-
3 years ago
0
Match only capital letters with optional underscore in between
PCRE2 (PHP >=7.3)
HelloWorld -- NOT match HELLO_WORLD_ -- NOT match _HELLO_WORLD -- NOT match HELLO__WORLD -- match ]; -- NOT match RAGGA_DAFDASDA -- match...
Submitted by
anonymous
-
3 years ago
0
regex 1
PCRE2 (PHP >=7.3)
search api with category and subcategory
Submitted by
anonymous
-
3 years ago
0
C-style block comment with "*/" escape
Golang
Match /* ... / with escape of quotation marks, e.g. / "*/" */. No look ahead needed.
Submitted by
Guyutongxue
-
3 years ago
0
Bhumi
PCRE2 (PHP >=7.3)
Submitted by
Ewallet
-
3 years ago
0
German Bible veses
ECMAScript (JavaScript)
A regex that captures the common Bible books, chapter, and verses for the German language.
Submitted by
Sergio Santos
-
3 years ago
(Last modified 3 years ago)
0
hbase offline state regex
PCRE2 (PHP >=7.3)
CVP
Submitted by
Diego
-
3 years ago
0
non word on the beginning (including underscore)
Python
use for coursera
Submitted by
anonymous
-
3 years ago
0
Separate First Vowel
ECMAScript (JavaScript)
Separator for a vowel start string
Submitted by
FerreiraR
-
3 years ago
0
Test MGNT
PCRE2 (PHP >=7.3)
just a test
Submitted by
dang
-
3 years ago
0
Diskusija
ECMAScript (JavaScript)
ss
Submitted by
LiunuxMan
-
3 years ago
0
Email
PCRE2 (PHP >=7.3)
Email Validator
Submitted by
anonymous
-
3 years ago
0
txt mini
Python
txt
Submitted by
anonymous
-
3 years ago
0
Simple Address Validation
ECMAScript (JavaScript)
This tries to validate the address in English-compliant formats. Note: Not tested for script languages Arabic. const regExp = /^(?![ -.&,'":?!/])(?!.[- &'":]$)(?!.[-.#@&,:?!/]{2})[a-zA-Z0-9- .#@&,_'":.?!/]+$/; `
Submitted by
Sowed Castelli
-
3 years ago
0
Match user defined date format
PCRE2 (PHP >=7.3)
Only matches, when date is in brackets. Allows for KW/CW or Q or normal date. Delimiters are '.' & '-'; Does not work for years < 2000 and does not validate for correct month- or day-values (except quarter).
Submitted by
MjSt
-
3 years ago
1
...
422
423
424
425
426
...
900
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
\w
!#$%&'*+
\-\=
?
\^
_`{|}~
]
+
(
\.
[
\w
!#$%&'*+
\-\?\^
_`{|}~
]
+
)*
@
(
(
(
[
\-
\w
]
+
\.
)+
[
a
-
zA
-
Z
]
{2,4}
)
|
(
(
[
0
-
9
]
{1,3}
\.
){3}
[
0
-
9
]
{1,3}
)
)
$
/
gm
Open regex in editor
Description
Email Validator
Submitted by
anonymous
-
3 years ago