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 7,760 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
netBooter Telnet status parser
ECMAScript (JavaScript)
This Regex will parse the status output of netBooter type internet connected power switches.
Submitted by
anonymous
-
7 years ago
2016-10-18 17:43
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
get only ids
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-10-17 14:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Extract Sql Columns from the given query
ECMAScript (JavaScript)
Tries to find the column names from the given SQL query.
Submitted by
anonymous
-
7 years ago
2016-10-17 06:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Full URL regex
ECMAScript (JavaScript)
regex to valid a complete URL including querystring and URI encoded characters
Submitted by
anonymous
-
7 years ago
2016-10-12 06:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Cédula de identidad venezolana
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-10-11 17:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
P1 register parsing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-10-07 09:14
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Vimeo id from swf url
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-10-06 13:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
apt list Version 2
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-10-05 20:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
apt list --installed
Python
extract the package name and version name from the apt list --installed command
Submitted by
anonymous
-
7 years ago
2016-10-05 18:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL query param
Python
A solution for capture set/unset/catch a value of param query of URLs. Here is a example code that applies this pattern in JS, but JS doesn't have support to lookbehind.
Submitted by
Rafael Laurindo
-
7 years ago
2016-10-04 01:22
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Thorough UK Postcode Validator with In/Out code capture groups
Python
A more thorough UK postcode validator tested against all UK postcodes on a regular basis, but excluding the special GIRO postcode case out of personal preference. Additionally has capture groups for the In-code and Out-code sections. Requires case insensitive matching.
Submitted by
Chris G
-
7 years ago
2016-09-30 15:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Divide URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-30 15:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Javascript Literal to JSON
ECMAScript (JavaScript)
Converts a javascript literal to json format
Submitted by
Justin Echternach
-
7 years ago
2016-09-29 15:52
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
North America - US - N11 Service Number - e.164 compliant/non-compliant
ECMAScript (JavaScript)
This expression can be used for identifying if a string (such as a dialed number using a cloud based telephony service) matches one of the known North American US N11 Service Numbers. It will match if the number is in e.164 format or not, and only matches when the string begins and ends with the des...
Submitted by
Benjamin Dean
-
7 years ago
2016-09-29 15:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find comments block in the source code.
ECMAScript (JavaScript)
This pattern finds comments block in the source code.
Submitted by
giraysam
-
7 years ago
2016-09-29 12:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Facebook embedded video
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-09-28 09:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
po box extracter
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-28 00:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Twitter tag regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-27 06:41
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Palindrome
ECMAScript (JavaScript)
Captures a palindrome of 9 digits or less
Submitted by
anonymous
-
7 years ago
2016-09-27 03:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
\[\ \s*[a-z#A-Z_]+\s*-?\d+([\.]\d+)*\s*\ ]/
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-26 10:56
1
...
297
298
299
300
301
302
303
...
388
HH:MM
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
^
(
[
0
-
9
]
|
0
[
0
-
9
]
|
1
[
0
-
9
]
|
2
[
0
-
3
]
)
:
[
0
-
5
]
[
0
-
9
]
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
7 years ago
2016-07-01 11:00