Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,020 community submitted regex patterns...
1
price selector
PCRE (PHP <7.3)
Matches any of the prices in the text below: Im asking $15,500 OBO Im asking 15,400$ Im asking 15400$ Im asking $15400 Im asking 15 400$...
Submitted by
chocksy
-
11 years ago
0
\$\s?(\d+[\.\s,\dk]+)|(\d+[\.\s,\dk]+)\$
PCRE (PHP <7.3)
Matches a text that has all those prices below. Doesn't take the $ sign. "Im asking $15,500 OBO Im asking 15,400$ Im asking 15400$ Im asking $15400 Im asking 15 400$...
Submitted by
chocksy
-
11 years ago
35
Google like regex
ECMAScript (JavaScript)
Attempts to mimic Google search box behavior, returning an array with the separated search strings (that keep the +/- indicator for following operations)
Submitted by
mettjus
-
11 years ago
-2
1_aa3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
7
PAN CARD validation
PCRE (PHP <7.3)
checks for valid PAN card for Indian users.
Submitted by
karan thakkar
-
11 years ago
2
Url with <a> (param) validation
PCRE (PHP <7.3)
https://www.google.com http://www.google.net/hello https://www.google. http://www.google./hello above url matching with given regex...
Submitted by
Duleep Dissanayaka
-
11 years ago
2
42 post regex
PCRE (PHP <7.3)
Hosts regex for 42 school (france)
Submitted by
Kerosene2000
-
11 years ago
1
phone test
PCRE (PHP <7.3)
no description available
Submitted by
cool guy
-
11 years ago
7
CSS Import
Python
no description available
Submitted by
anonymous
-
11 years ago
-2
French phone number
PCRE (PHP <7.3)
no description available
Submitted by
Benoit Anastay
-
11 years ago
2
more DISORTED EMAIL ADDRESSES
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
Help creating a Regex Pattern
PCRE (PHP <7.3)
Please help with a regex that will find a pattern like this ✖ or this ∀ or this Π
Submitted by
anonymous
-
11 years ago
0
MIME To field possible inputs
PCRE (PHP <7.3)
Each line in TEXT represents potential input data. The regex is useless so far as my original using assertions neglected the case where required matches occur between double quotes.
Submitted by
anonymous
-
11 years ago
0
unicode email sanitising
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
2
Unicode url sanitising
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-2
Unicode email sanitising
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-3
Latitude/longitude tester
PCRE (PHP <7.3)
Tests the string if it does contain valid latitude and longitude parameters
Submitted by
Doro
-
11 years ago
-2
IP 3 words and a number
PCRE (PHP <7.3)
Matches an Ip and any 3 words and a number after separated by any number of spacing characters.
Submitted by
Attalward
-
11 years ago
-2
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
ssi tag into html contents with file and virtual directives
ECMAScript (JavaScript)
no description available
Submitted by
Prashant Gaur
-
11 years ago
1
...
889
890
891
892
893
...
901
Community Library Entry
0
Regular Expression
.NET 7.0 (C#)
@"
^
(?=
(?<http>
(?:
https
?
:
\/\/
){1}
(?:
www
\.
)?
)?
)
(?
(?=
\k<http>
?
(?<ipaddr>
(?:
\d
{1,3}
\.
){3}
\d
{1,3}
(?:
\:
\d
{1,5}
)?
)
)
\k<http>
?
\k<ipaddr>
(?:
\.
[
\w
]
{1,9}
)?
|
\k<http>
(?:
[
\w
]
\.
?
){1,255}
\.
[
\w
]
{1,9}
)
(?:
\/
.
*
)?
$
"
gm
Open regex in editor
Description
Can be used to validate on URL's.
Submitted by
anonymous
-
a year ago