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 5,720 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex for import statements
ECMAScript (JavaScript)
This regex matches the import statements written in Java. The key element is the pattern that matches .xxx.
Submitted by
yogitaap
-
7 years ago
2017-04-03 06:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MyRPS Mobile Numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-03 10:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
US Phone
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-04-06 23:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match int and float numbers in polynomial
ECMAScript (JavaScript)
I created this regex to match all integers and floats in polynomials. This regex matches: 1) all integers 2) all floats ...
Submitted by
Giuseppe Tavella
-
6 years ago
2017-04-08 21:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match int and float numbers in polynomial
ECMAScript (JavaScript)
I created this regex to match all integers and floats in polynomials. This regex MATCHES: 1) all integers 2) all floats ...
Submitted by
Giuseppe Tavella
-
6 years ago
2017-04-08 21:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match int and float numbers in polynomial
ECMAScript (JavaScript)
I created this regex to match all integers and floats in polynomials. This regex MATCHES: 1) all integers 2) all floats ...
Submitted by
Giuseppe Tavella
-
6 years ago
2017-04-08 21:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match int and float numbers in polynomial
ECMAScript (JavaScript)
I created this regex to match all integers and floats in polynomials. This regex MATCHES: 1) all integers 2) all floats ...
Submitted by
Giuseppe Tavella
-
6 years ago
2017-04-08 21:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match int and float numbers in polynomial
ECMAScript (JavaScript)
I created this regex to match all integers and floats in polynomials. This regex MATCHES: 1) all integers 2) all floats ...
Submitted by
Giuseppe Tavella
-
6 years ago
2017-04-08 21:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match int and float numbers in polynomial
ECMAScript (JavaScript)
I created this regex to match all integers and floats in polynomials. This regex MATCHES: 1) all integers 2) all floats ...
Submitted by
Giuseppe Tavella
-
6 years ago
2017-04-09 12:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract from on-pageText
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-04-10 23:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
特殊限制(环视否定)不以什么开头
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-04-11 15:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
校验密码必须包含字母、数字和特殊字符
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-04-12 09:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配图片title src
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-04-12 14:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find a irregular character in file/directory names
ECMAScript (JavaScript)
Find first ocurrence of a irregular character in a file or dir name.
Submitted by
anonymous
-
6 years ago
2017-04-12 18:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Replace bad comments
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-04-13 13:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SFMC Fields
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-04-17 10:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Linux Updates
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-04-18 01:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL Basic Auth Parser
ECMAScript (JavaScript)
Awesome basic auth parser! Doesn't work if there is a protocol string.
Submitted by
anonymous
-
6 years ago
2017-04-18 18:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
isUrl updated regex
ECMAScript (JavaScript)
Latest isUrl regex
Submitted by
anonymous
-
6 years ago
2017-04-18 20:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
isUrl() latest
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-04-19 16:57
1
...
169
170
171
172
173
174
175
...
286
match ipv4|匹配ipv4
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?:
(?:
2
[
0
-
4
]
[
0
-
9
]
|
25
[
0
-
5
]
|
1
?
[
0
-
9
]
?
[
0
-
9
]
)
\.
){3}
(?:
2
[
0
-
4
]
[
0
-
9
]
|
25
[
0
-
5
]
|
[
0
-
1
]
?
[
0
-
9
]
?
[
0
-
9
]
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
nihuge
-
a year ago
2022-05-11 01:50