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)
Parse Logs
PCRE (PHP <7.3)
http://stackoverflow.com/questions/32067661/regex-get-all-text-after-pattern-from-log-c-sharp/32067747#32067747
Submitted by
anonymous
-
8 years ago
2015-08-18 09:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Parse Logs
PCRE (PHP <7.3)
Parsing Logs http://stackoverflow.com/questions/32067661/regex-get-all-text-after-pattern-from-log-c-sharp/32067747#32067747 Avinash Raj http://stackoverflow.com/users/3297613/avinash-raj
Submitted by
Avinash Raj
-
8 years ago
2015-08-18 09:27
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Youtube ID
PCRE (PHP <7.3)
get youtube video ID
Submitted by
anonymous
-
8 years ago
2015-08-18 06:33
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Currencies
PCRE (PHP <7.3)
Matches numbers formatted like currencies
Submitted by
elgehelge
-
8 years ago
2015-08-17 14:14
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Parse date between 1000 and 2012 in format(YYYY/MM/DD HH:MM)
PCRE (PHP <7.3)
This my first regExp)
Submitted by
Andy
-
8 years ago
2015-08-17 11:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
BEM for css
PCRE (PHP <7.3)
no description available
Submitted by
giacomozinetti
-
8 years ago
2015-08-17 10:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
hosts file parser
PCRE (PHP <7.3)
This expression parses hosts file lines and extracts IP, domains, commented lines. Yet doesn't support ending comments.
Submitted by
Jarek Wasilewski
-
8 years ago
2015-08-16 20:06
-1
2 upvotes, 3 downvotes (score 11.8%) (You must be signed in to vote)
Integers and Decimals
PCRE (PHP <7.3)
Matches integers and decimals with or without thousands grouping.
Submitted by
Franz Alex Gaisie-Essifie
-
8 years ago
2015-08-16 13:48
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
ip/host:port parser (proxy lists)
PCRE (PHP <7.3)
simple ip:port or host:port parser capturing ip or host and port, usually used for proxy lists
Submitted by
The Voider
-
8 years ago
2015-08-16 03:11
4
4 upvotes, 0 downvotes (score 51%) (You must be signed in to vote)
TV series season and episode names
PCRE (PHP <7.3)
This regex matches against season and series names
Submitted by
mikey
-
8 years ago
2015-08-16 00:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Shortcode_filter
PCRE (PHP <7.3)
CLeans your HTML code from shortcodes and images :)
Submitted by
Colta Victor
-
8 years ago
2015-08-15 11:15
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Matches Content-Type field of HTTP response
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-14 17:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Anagram match of "poultryoutwitsants"
PCRE (PHP <7.3)
this is an anagram matcher to run upon words
Submitted by
sp90
-
8 years ago
2015-08-14 12:57
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
get class
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-14 07:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
aaaaaaaaaaa
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-14 07:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
gfghfgdf
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-14 07:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Get a xls file from URL
PCRE (PHP <7.3)
no description available
Submitted by
Huan
-
8 years ago
2015-08-14 04:32
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
inline img
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-14 02:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find your Db from a sql query
PCRE (PHP <7.3)
A regex to find the db wich you're quering against to.
Submitted by
kkrico
-
8 years ago
2015-08-13 14:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
viduregex
PCRE (PHP <7.3)
cac vi du ve bat cac chuoi o regex
Submitted by
thieutham
-
8 years ago
2015-08-13 07:24
1
...
524
525
526
527
528
529
530
...
583
Registration Email Address
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
[
-
\w
]
|
[
-
\w
]
[
-.
\w
]
*
[
-
\w
]
)
@
(
[
-a
-
zA
-
Z0
-
9
]
+
\.
)+
[
-a
-
zA
-
Z0
-
9
]
{2,4}
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2015-07-24 05:34