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 14,660 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
XML URL
ECMAScript (JavaScript)
validates an xml URL. Allows ips and domain names
Submitted by
allofus
-
8 years ago
2016-05-16 14:59
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
汉字匹配
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-05-16 14:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match a string only for a percentage number
PCRE (PHP <7.3)
This regex checks if a string contains a number that ends with a "%" character ignoring all other cases. 96% -> accept 96.6% -> accept kk% -> Reject 96%% -> Reject
Submitted by
Krishna
-
8 years ago
2016-05-16 12:16
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Match 24H time
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-05-16 11:56
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
OTP Card payment
Python
no description available
Submitted by
anonymous
-
8 years ago
2016-05-16 08:18
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
AsDate
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2016-05-16 03:38
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Australian BSB
PCRE (PHP <7.3)
Matches Australian BSB numbers
Submitted by
Michael Fishpool
-
8 years ago
2016-05-15 22:55
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
4 digits
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2016-05-15 20:38
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Reqursive concrete chunk
PCRE (PHP <7.3)
(?R) Alternative
Submitted by
lexus.1995@mail.ru
-
8 years ago
2016-05-15 12:03
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Capture Query Strings
Python
A solution for capture query params.
Submitted by
Rafael Laurindo
-
8 years ago
2016-05-15 10:22
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Query Strings Capture
Python
A solution for capture params or the param=value pair of query strings.
Submitted by
Rafael Laurindo
-
8 years ago
2016-05-15 10:20
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Outcode Extraction
PCRE (PHP <7.3)
Outcode extraction for UK postcode
Submitted by
Begbaaji
-
8 years ago
2016-05-15 10:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
File Extensions for NodejS recoginition for madge
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-05-15 00:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Accounting Numeric Format
PCRE (PHP <7.3)
ACCEPTS ONE DASH "-" IN FRONT. ACCEPTS ONE PERIOD "." AFTER NUMBERS. ACCEPTS COMMAS. DOES NOT ACCEPT PARENTHESIS "()".
Submitted by
anonymous
-
8 years ago
2016-05-14 23:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match the value of a given parameter in a query string
PCRE (PHP <7.3)
no description available
Submitted by
Guido W. Pettinari
-
8 years ago
2016-05-14 21:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
All but my string
Python
Return all but the given string
Submitted by
elypma
-
8 years ago
2016-05-14 20:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Lua Module Matching
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2016-05-14 16:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CPS
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2016-05-14 16:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Lua Anonymous Function Matching
Python
no description available
Submitted by
anonymous
-
8 years ago
2016-05-14 16:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Experimental
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-05-14 12:55
1
...
523
524
525
526
527
528
529
...
733
ip
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Regular Expression
Python
r"
IP=
(
[
0
-
9
]
{1,3}
)
\.
(
[
0
-
9
]
{1,3}
)
\.
(
[
0
-
9
]
{1,3}
)
\.
(
[
0
-
9
]
{1,3}
)
"
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2016-05-12 15:00