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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 5,700 community submitted regex patterns...
2
phone regex
ECMAScript (JavaScript)
Match phone number with extensions or not
Submitted by
Mélissa Dumont
-
9 years ago
1
Remove invalid characters and autotrim
ECMAScript (JavaScript)
remove the multiline switch
Submitted by
iamtheauthor
-
9 years ago
1
Failure case for repeated strings
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-3
Regex for minimum specific character length
ECMAScript (JavaScript)
Hi All, I'm currently having an issue regarding writing regex to check minimum length of specific character. My case is for phone number. E.g. Phone number required at leat 8 character and max 19 character. However, people are allowed to write with 'space' character in between and that 'space' sho...
Submitted by
krisha
-
9 years ago
-1
sfafagergfwefe323
Python
no description available
Submitted by
anonymous
-
9 years ago
1
f
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
I need some one to generate an regexp please
ECMAScript (JavaScript)
I need regular expression for the string WC_AUTHENTICATION_1343459084. Here WC_AUTHENTICATION_ remains fixed and the number keeps changing. I have written the below logic. var re = new RegExp('[; ]'+"WC_PERSISTENT"+'[0-9]'); Please help
Submitted by
Sanuvimal.Mohan@target.com
-
9 years ago
1
ECMAScript (JavaScript)
Submitted by
-
9 years ago
1
Url regex testing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
test
Python
no description available
Submitted by
anonymous
-
10 years ago
2
e164 format
ECMAScript (JavaScript)
e164 format
Submitted by
anonymous
-
10 years ago
1
e164_basic
ECMAScript (JavaScript)
e164_basic
Submitted by
anonymous
-
10 years ago
4
Capturing items from multiple lists using a single regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
7
if, else if, else condtion match
ECMAScript (JavaScript)
matches full if condition statment eg: if(condition){ ... } else if(condition){ ... }else{...
Submitted by
Ivan Jakesevic
-
10 years ago
2
Positive Numbers greater than 0 with leading zeroes.
ECMAScript (JavaScript)
Accepts all positive numbers above 0. Accepts numbers with leading zeroes e.g.: 0123, 00123.
Submitted by
Sandeep Ranka
-
10 years ago
1
Get the command
ECMAScript (JavaScript)
Simply gets the command from a script command, automatically removes unwanted spaces.
Submitted by
anonymous
-
10 years ago
1
Simple script command and parameter grabber
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
nginx log parser
Python
separate nginx log into database table-style fields
Submitted by
wgzhao
-
10 years ago
1
Finding URLs within full text
ECMAScript (JavaScript)
Finds URLs in a larger body of text. URLs may or may not be enclosed in punctuation, such as parentheses, that are not part of the URL.
Submitted by
D0nB1z
-
10 years ago
1
Tv Series name extractor
Python
Extract from a tv series file the name of the series, the season, episode and the title.
Submitted by
dshinigami
-
10 years ago
1
...
275
276
277
278
279
...
285
Prime numbers test
2
Regular Expression
Python
r"
^
1
?
$
|
^
(
11
+
?
)
\1
+
$
"
Open regex in editor
Description
Given a number N represented by its unary form N(1), when RegEx doesn't match N(1), N is prime
Submitted by
LexDias
-
9 years ago