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
Adding binary numbers
PCRE (PHP <7.3)
Verifies whether two binary numbers a and b are equal to their sum c; Input expected in form a + b = c
Submitted by
Bob Weinand
-
8 years ago
1
IBAN
ECMAScript (JavaScript)
The regex of IBAN of the Zend Framework validator
Submitted by
Zeyckler
-
8 years ago
1
Names in America
ECMAScript (JavaScript)
Capitalized, with "O'","Mc","Mc " and "0" for some European names
Submitted by
anonymous
-
8 years ago
1
Rex: Domain name plus colon plus integer
PCRE (PHP <7.3)
Done while modifying Remote MX Wizard( Getting MX records from user input)
Submitted by
Levyb
-
8 years ago
1
Remove inside ()
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
from word to word
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
SegmentLoaderRegex
ECMAScript (JavaScript)
no description available
Submitted by
Sanoj
-
8 years ago
1
old
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Test
ECMAScript (JavaScript)
Test
Submitted by
Test
-
8 years ago
1
(am|sg){0,1}(invoice){0,1}(\d*){0,1}
PCRE (PHP <7.3)
(am|sg){0,1}(invoice){0,1}(\d*){0,1}
Submitted by
dat.dao
-
8 years ago
1
"GP0|#8c3bbce0-620b-4e68-8567-28ff6fa42712;L0|#08c3bbce0-620b-4e68-856
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Shortcode Js
ECMAScript (JavaScript)
[shortcode attr="data"]
Submitted by
khiconit
-
8 years ago
1
Number Validation
ECMAScript (JavaScript)
Number validation in Javascript. Abit too contrived
Submitted by
b0tman
-
8 years ago
1
Posible regex para variables mailmarketing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Reg2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Reg1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Only valid if uppercase words (letters + space), minimum 1, maximum 21
ECMAScript (JavaScript)
"ASDF ASDF ASDF ASDF A" OK "ASDF ASDF ASDF ASDF AS" NOK "asfd ASDF ASDF ASDF" NOK "ASDF ASDF ASDF AsdF" NOK "ASDF ASDF ASDF A12F" NOK
Submitted by
Matthias G.
-
8 years ago
1
X user Y response
PCRE (PHP <7.3)
grep logs with X username and Y response code
Submitted by
anonymous
-
8 years ago
1
Create directories
PCRE (PHP <7.3)
Regex to make sure directories have a "real" name and not code use for scripting/
Submitted by
anonymous
-
8 years ago
1
CI-Bol
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
265
266
267
268
269
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
While
+
(
[^
\n
\;
]
+
)
;
?
(
(?:
[
\t
]
*
(?!
Wend
)
(?:
\S
+
[
\t
]
*
)*
\n
)+
[
\t
]
*
)
Wend
[
\t
]
*
\;
?
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago