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,360 community submitted regex patterns...
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Error Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-21 02:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
javas dismissed lines
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-19 17:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
javas legal empty lines
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-19 16:59
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
java variable declaration
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-19 16:56
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
java while
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-19 15:50
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Greedy + & * quantifires debug
PCRE (PHP <7.3)
/[123]+(123)*2/ Input: 1,2,3,4,5,6,7,8,9,0,10,11,12,13,14,15,16 Find: 12
Submitted by
Tomer Levi
-
8 years ago
2015-06-19 12:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
catch or match URL or URI
PCRE (PHP <7.3)
any more? tell me by email.
Submitted by
CSnowstar(997596@gmail.com)
-
8 years ago
2015-06-19 10:17
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find sentence start
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-19 07:54
-2
2 upvotes, 4 downvotes (score 9.7%) (You must be signed in to vote)
Validate credit card numbers
PCRE (PHP <7.3)
Visa, MasterCard, American Express, Diners Club, Discover, JCB
Submitted by
www.regular-expressions.info/creditcard.html
-
8 years ago
2015-06-18 23:14
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Regex Group Regex
PCRE (PHP <7.3)
Working on this regex so that I can use it to parse regular expressions and get the group info from them
Submitted by
jparish1977@gmail.com
-
8 years ago
2015-06-18 21:09
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
simplewords
PCRE (PHP <7.3)
words
Submitted by
glin
-
8 years ago
2015-06-18 20:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
MYV_POSTPAY_ACCESSLOG
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-18 20:32
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Update for bne_interface_cols_tl
PCRE (PHP <7.3)
Necessary because of Bug in Web-Interface
Submitted by
anonymous
-
8 years ago
2015-06-18 15:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
hstore
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-18 14:17
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
JSON validator
PCRE (PHP <7.3)
Takes a JSON string and captures interesting information in the named capturing groups: (o: last object, a: last array, s: last string, n: last number, c: last comma before optional whitespace, d: same as c, but with a colon instead of a comma, v: last value)
Submitted by
luis140219 on GitHub and Sourceforge
-
8 years ago
2015-06-18 13:45
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Levi test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-18 13:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
keep versions
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-18 11:59
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
redaa
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-18 11:55
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
File input type validation
PCRE (PHP <7.3)
no description available
Submitted by
Ramkumar Venkatachalam
-
8 years ago
2015-06-18 07:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
match data-reactid
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-18 02:13
1
...
522
523
524
525
526
527
528
...
568
File name
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
\w
*
.
css
{1,}
)
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2015-05-29 22:51