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 5,540 community submitted regex patterns...
0
Unicode alphanumeric (any language) with whitespaces
ECMAScript (JavaScript)
Match any alphanumeric string in any language. White spaces are allowed. (Usefull for ECMAScript 5)
Submitted by
Angelos Gkountis
-
9 years ago
0
Integers
ECMAScript (JavaScript)
Positive or negative. 0 is allowed but may not be a leading digit.
Submitted by
anonymous
-
8 years ago
-1
text beetween text
Python
no description available
Submitted by
karol
-
10 years ago
-2
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
-2
Detect HTML Linebreak Tags
ECMAScript (JavaScript)
Detect various possible HTML linebreak tags (eg. )
Submitted by
@benhodgson
-
9 years ago
-2
Between two strings
Python
Awesome explanation of nested lookbacks
Submitted by
OnlineCop
-
9 years ago
-3
Matches percentage with any number of digits
Python
Only captures value for converting percentage to decimal. Returns empty if percentage but no value. no match = no percentage found
Submitted by
sharkey
-
9 years ago
0
Phone area code - prefix - number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
0
adding space after (.) period and next word
ECMAScript (JavaScript)
Requirement was to check if there is space between . and next text and if not the then add space
Submitted by
Prajkta
-
11 years ago
0
filename split
ECMAScript (JavaScript)
Splitting file names
Submitted by
Miloš Ratković
-
10 years ago
0
Telephone Number Simple
ECMAScript (JavaScript)
no description available
Submitted by
Nemesarial
-
10 years ago
0
Canadian Postal Code
ECMAScript (JavaScript)
3 Forms: H5H 5H5 H5H5H5 H5H-5H5
Submitted by
Christopher Dufort
-
9 years ago
0
IBAN
ECMAScript (JavaScript)
Italian IBAN
Submitted by
Italo
-
9 years ago
0
SSN
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Arabic diacritics matching تحديد التشكيل العربي
ECMAScript (JavaScript)
It will match all Arabic diacritics in Arabic text, its useful to remove diacritics and to replace it with some css.
Submitted by
Emad Ghaly
-
9 years ago
-1
Find image style
ECMAScript (JavaScript)
style img
Submitted by
anonymous
-
11 years ago
-1
Twitter #hashtags
Python
Using the twitter API, take a tweet object and find & link #tags to embed in HTML
Submitted by
@triplec1988
-
11 years ago
-1
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
-2
Decimal Number
ECMAScript (JavaScript)
Parse decimal numbers with optional thousands and/or decimal separator. #i18n #l11n #international
Submitted by
Andreas Pizsa
-
10 years ago
1
Anom
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
1
...
175
176
177
178
179
...
277
Community Library Entry
14
Regular Expression
ECMAScript (JavaScript)
/
(
^
[
0
-
9
]
{4}
?
[
0
-
9
]
$
|
^
[
0
-
9
]
{4}
?
[
0
-
9
]
-
[
0
-
9
]
{4}
$
)
/
gm
Open regex in editor
Description
no description available
Submitted by
jay johnson
-
11 years ago