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 11,660 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Originale
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-07 18:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regexp for mediawiki
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-07 16:02
5
7 upvotes, 2 downvotes (score 45.3%) (You must be signed in to vote)
Latitude,Longitude fetcher
PCRE (PHP <7.3)
Useful to work with GoogleMap API.
Submitted by
anonymous
-
8 years ago
2015-08-07 08:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
tag replace
PCRE (PHP <7.3)
no description available
Submitted by
Lexx918
-
8 years ago
2015-08-07 07:36
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Valmaks_rename_big_strings
PCRE (PHP <7.3)
no description available
Submitted by
witamin
-
8 years ago
2015-08-06 16:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
URL validator with tests
PCRE (PHP <7.3)
inspired by https://mathiasbynens.be/demo/url-regex and the pattern from @imme_emosol
Submitted by
Elmervc
-
8 years ago
2015-08-06 14:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Israeli Phone Number
PCRE (PHP <7.3)
Validate Israeli common phone numbers (simple landline and mobile only, no special / free / premium numbers)
Submitted by
uda
-
8 years ago
2015-08-06 12:15
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Valmaks_name_replace_222
PCRE (PHP <7.3)
no description available
Submitted by
witamin
-
8 years ago
2015-08-06 10:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Get Content within brackets
PCRE (PHP <7.3)
Get Content within brackets
Submitted by
anonymous
-
8 years ago
2015-08-06 08:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
URL supporting ports, GET params and js routing
PCRE (PHP <7.3)
(http(s)?:\/\/) // http:// or https:// (([a-zA-Z0-9_\-])+(\.([a-zA-Z0-9_\-])+)+(:[1-9]+[0]*)?)(\/?| // basic url f.e. www.wp.pl with obligatory / at end ...
Submitted by
Rafał Rowiński
-
8 years ago
2015-08-05 18:25
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
http
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-05 17:39
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Match a string that is equal to a string before a '='
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-05 16:24
-2
2 upvotes, 4 downvotes (score 9.7%) (You must be signed in to vote)
Match the first and last char of a word
PCRE (PHP <7.3)
no description available
Submitted by
pedroppinheiro
-
8 years ago
2015-08-05 16:16
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
Numbers separated by comma and whitespace
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-05 14:14
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
Match XML that has a single root element
PCRE (PHP <7.3)
Can be used as a basic validator to ensure that XML has only a single root element
Submitted by
Jerome Wilson
-
8 years ago
2015-08-05 11:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
extract video id from youtube url
PCRE (PHP <7.3)
no description available
Submitted by
egg-
-
8 years ago
2015-08-05 03:56
2
4 upvotes, 2 downvotes (score 30%) (You must be signed in to vote)
Grab all hyperlinks
PCRE (PHP <7.3)
no description available
Submitted by
Josh Bourke
-
8 years ago
2015-08-04 18:30
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
youku video_id
PCRE (PHP <7.3)
parse youku video id
Submitted by
egg-
-
8 years ago
2015-08-04 09:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
youku
PCRE (PHP <7.3)
parse youku video id
Submitted by
egg-
-
8 years ago
2015-08-04 08:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Cordon - SFR - HDD Serial number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-04 07:53
1
...
526
527
528
529
530
531
532
...
583
JSON FIELD EXTRACTOR
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
\"
(
\w
+
)
\"
\s
:
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2015-06-22 10:12