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 15,220 community submitted regex patterns...
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Multiple lines comment in Java
PCRE (PHP <7.3)
Begin with /* accept anything inside and finish with */
Submitted by
Wesley Ramos
-
8 years ago
2015-10-26 14:27
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Any variable between @
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-26 13:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Номер автомобиля
PCRE (PHP <7.3)
Номер автомобиля РФ
Submitted by
anonymous
-
8 years ago
2015-10-26 10:09
-2
0 upvotes, 2 downvotes (score 0%) (You must be signed in to vote)
Multiple Email Address Validation
ECMAScript (JavaScript)
Validates Multiple email addresses seperated by comma.
Submitted by
Rajesh Badam
-
8 years ago
2015-10-26 06:50
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find a floating point number followed by 'fps'
PCRE (PHP <7.3)
no description available
Submitted by
mortenjust
-
8 years ago
2015-10-25 22:16
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Split by character outside quotes
ECMAScript (JavaScript)
Splits text by a character which is not inside the quotes. Example: foo:"01":"02:03":"04:05:06":"07:08:09:10" ^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^
Submitted by
.iqqmuT
-
8 years ago
2015-10-25 21:43
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
ipv4 address
ECMAScript (JavaScript)
no description available
Submitted by
Xiaohui Xu
-
8 years ago
2015-10-25 13:36
0
3 upvotes, 3 downvotes (score 18.8%) (You must be signed in to vote)
Isolates Formatted money String inside HTML tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-25 04:05
17
34 upvotes, 17 downvotes (score 53%) (You must be signed in to vote)
Between tags content
PCRE (PHP <7.3)
no description available
Submitted by
Agustín Bouillet
-
8 years ago
2015-10-24 10:52
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
[\d]*
PCRE (PHP <7.3)
kostix@mail.ru
Submitted by
anonymous
-
8 years ago
2015-10-23 17:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
LogExpert RegexColumnizer for Magento
PCRE (PHP <7.3)
This is for the windows application LogExpert with the RegexColumnizer extension. This will split log entries into columns ( Date | Time | LogLvl | LogMsg )
Submitted by
Chris Soper - Howell Marketing Services
-
8 years ago
2015-10-23 16:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Moible Numbers - South Africa
PCRE (PHP <7.3)
Matches mobile numbers in South africa. Supports "00" and "+" numbering supports spacing between number parts examples of matching. +27721234567 , 0821234567 , 002783 123 4567, 079 123 4567
Submitted by
Zalatos
-
8 years ago
2015-10-23 15:14
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
South African Cell numbers
PCRE (PHP <7.3)
Will match on South African Cell numbers includes optional country code. --doesn't support "00" coding. Only supports "+" allows for splitting the number with spaces eg.+2786 123 4567
Submitted by
Zalatos
-
8 years ago
2015-10-23 15:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Czech Bank Account Number
PCRE (PHP <7.3)
no description available
Submitted by
Kuba
-
8 years ago
2015-10-23 14:59
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
DDDD, dd MMMM
ECMAScript (JavaScript)
Friday, 23 October
Submitted by
nehakadam
-
8 years ago
2015-10-23 14:11
-2
0 upvotes, 2 downvotes (score 0%) (You must be signed in to vote)
boolean
PCRE (PHP <7.3)
Value must be either true or false
Submitted by
nstaal
-
8 years ago
2015-10-23 13:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Search for foobar in a csv string
PCRE (PHP <7.3)
Search for foobar in a csv string
Submitted by
Balmark
-
8 years ago
2015-10-23 10:51
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
find numbers with 2 commas
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-22 17:30
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
WKT POINT to longtitude and latitude
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-22 14:56
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
space
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-22 14:39
1
...
656
657
658
659
660
661
662
...
761
Get 'value' attribute in 'a' html tag
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
<a
(?:
\s
+
[
\w
:-
]
+
(?:
\s
*
=
\s
*
(?:
(?:
"
[^
"
]
*
"
)
|
(?:
'
[^
'
]
*
'
)
|
[^
>
\s
]
+
)
)?
)*
\s
*
(?:
(
value
)
\s
*
=
\s
*
(?:
"
(
[^
"
]
*
)
"
)
)
(?:
\s
+
[
\w
:-
]
+
(?:
\s
*
=
\s
*
(?:
(?:
"
[^
"
]
*
"
)
|
(?:
'
[^
'
]
*
'
)
|
[^
>
\s
]
+
)
)?
)*
\s
*
>
/
gmi
Open regex in editor
Description
Loading markdown...
Submitted by
Derek Severson
-
8 years ago
2015-10-08 20:34