Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 3,380 community submitted regex patterns...
-3
3 upvotes, 6 downvotes (score 12.1%) (You must be signed in to vote)
Regular Expression For Phone Number Validation
ECMAScript (JavaScript)
no description available
Submitted by
Brian Jemilo II
-
10 years ago
2014-04-23 20:12
-3
3 upvotes, 6 downvotes (score 12.1%) (You must be signed in to vote)
s
ECMAScript (JavaScript)
s
Submitted by
anonymous
-
10 years ago
2014-04-29 20:44
-3
3 upvotes, 6 downvotes (score 12.1%) (You must be signed in to vote)
1111
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2014-05-05 06:42
-3
5 upvotes, 8 downvotes (score 17.7%) (You must be signed in to vote)
111
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2014-05-05 06:42
-3
4 upvotes, 7 downvotes (score 15.2%) (You must be signed in to vote)
111
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2014-05-05 06:42
-3
3 upvotes, 6 downvotes (score 12.1%) (You must be signed in to vote)
Number
ECMAScript (JavaScript)
Gets all numbers in a string. This includes positive and negative numbers aswell as integers and floats. By: http://www.benlorantfy.com/
Submitted by
Ben
-
9 years ago
2014-07-13 16:14
-3
3 upvotes, 6 downvotes (score 12.1%) (You must be signed in to vote)
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
2014-10-29 07:11
-3
1 upvotes, 4 downvotes (score 3.6%) (You must be signed in to vote)
Detect a numeric string
ECMAScript (JavaScript)
no description available
Submitted by
Ankur Chauhan
-
9 years ago
2015-01-08 22:59
-3
2 upvotes, 5 downvotes (score 8.2%) (You must be signed in to vote)
Strict email validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2015-02-28 10:35
-3
1 upvotes, 4 downvotes (score 3.6%) (You must be signed in to vote)
remove facebook urls from html
ECMAScript (JavaScript)
This will remove all facebook urls from a HTML string
Submitted by
Russell Miller
-
8 years ago
2015-06-03 01:35
-3
3 upvotes, 6 downvotes (score 12.1%) (You must be signed in to vote)
Html Tags
ECMAScript (JavaScript)
Matches HTML structure
Submitted by
sagar
-
8 years ago
2015-09-10 09:06
-3
1 upvotes, 4 downvotes (score 3.6%) (You must be signed in to vote)
matching words between tags
ECMAScript (JavaScript)
matching words between square brachets tags include newline or carriage return
Submitted by
anonymous
-
8 years ago
2015-09-22 15:10
-2
0 upvotes, 2 downvotes (score 0%) (You must be signed in to vote)
email regexp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-07-14 05:25
-2
3 upvotes, 5 downvotes (score 13.7%) (You must be signed in to vote)
non-negative integer
ECMAScript (JavaScript)
repeat ... refactor
Submitted by
jay johnson
-
10 years ago
2014-01-16 19:16
-2
4 upvotes, 6 downvotes (score 16.8%) (You must be signed in to vote)
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2014-02-07 06:19
-2
2 upvotes, 4 downvotes (score 9.7%) (You must be signed in to vote)
Select ID from regex101 URL
ECMAScript (JavaScript)
no description available
Submitted by
Vinay
-
10 years ago
2014-04-15 04:39
-2
3 upvotes, 5 downvotes (score 13.7%) (You must be signed in to vote)
Regex to select text withing square brackets.
ECMAScript (JavaScript)
no description available
Submitted by
Dhrubajyoti Gogoi
-
9 years ago
2014-06-04 15:19
-2
0 upvotes, 2 downvotes (score 0%) (You must be signed in to vote)
Header `Link` validator
ECMAScript (JavaScript)
no description available
Submitted by
Vaseker
-
9 years ago
2014-07-15 09:45
-2
3 upvotes, 5 downvotes (score 13.7%) (You must be signed in to vote)
Matching HTML attributes
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-07-22 10:23
-2
3 upvotes, 5 downvotes (score 13.7%) (You must be signed in to vote)
Regex for 1 to 100 with or without decimal values
ECMAScript (JavaScript)
no description available
Submitted by
Ved
-
9 years ago
2014-08-14 10:32
1
2
3
4
...
169
Match IP (ipv4) addresses: [0.0.0.0]-[255.255.255.255]
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(?:
^
|
\s
)
(
\b
(?:
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
|
1
?
\d
?
\d
)
\b
\.
\b
(?:
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
|
1
?
\d
?
\d
)
\b
\.
\b
(?:
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
|
1
?
\d
?
\d
)
\b
\.
\b
(?:
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
|
1
?
\d
?
\d
)
\b
)
(?:
$
|
\s
)
/
gmx
Open regex in editor
Description
Loading markdown...
Submitted by
OnlineCop
-
8 years ago
2015-06-07 16:51