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
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 11,600 community submitted regex patterns...
1
IP Addresses
PCRE (PHP <7.3)
Matches IP Addresses with minimum false positives
Submitted by
Austin-Hanson
-
9 years ago
7
CSS Import
Python
no description available
Submitted by
anonymous
-
10 years ago
4
Element's Attribute Value in XML (simple)
PCRE (PHP <7.3)
Simple regular expression for extracting attribute value of the element in XML-string. Attribute value should be in quotes.
Submitted by
Nikita Danilov
-
10 years ago
9
domain - host
Python
no description available
Submitted by
anonymous
-
9 years ago
4
Remove HTML tags
PCRE (PHP <7.3)
This regex is used to remove HTML tag on string
Submitted by
Jordane BACHELET
-
10 years ago
5
Separate words (works with spaces, dashes and underscores)
PCRE (PHP <7.3)
no description available
Submitted by
marcoslhc
-
10 years ago
8
Date time Advanced
PCRE (PHP <7.3)
no description available
Submitted by
Mr.Neutro
-
11 years ago
10
Strip Email ID from Name
PCRE (PHP <7.3)
Use this regex to select all characters up to the "" bracket. It works across multiple lines. You can get an email list with only the IDs. This is the pattern it matches: Alpha Person Step 1 (.*) [$ Step 2 [$.$] (.*) gives you aperson@whatever.org...
Submitted by
Jonathan Davidar
-
10 years ago
6
Username:Password
PCRE (PHP <7.3)
Regex For finding username:password
Submitted by
Ghost
-
9 years ago
4
Credit Card Number
PCRE (PHP <7.3)
Validates Credit Card Numbers of different type. Supports Visa, MasterCard, American Express, Diners Club, Discover and JCB Taken from http://www.regular-expressions.info/creditcard.html If you want to support only a particular type, customise it based on following....
Submitted by
Ehsan
-
9 years ago
8
Alphanumeric and Spaces
PCRE (PHP <7.3)
Alow alphanumeric characters and spaces
Submitted by
JTN
-
9 years ago
(Last modified a year ago)
14
RFC3339 DateTime
Recommended
PCRE (PHP <7.3)
Validates a RFC3339 DateTime format. Does not validates the Data
Submitted by
anonymous
-
8 years ago
6
reg Ex number range check
PCRE (PHP <7.3)
Hi, I am trying to get a reg ex that will test a number range and also allow european number convention like , for decimal point. I have this one for range check - ^(4-9{3}|1-9{4,5}|12{6}|30-4{5}|3500000)$ and I have this one for allow comma ^\s?([\d\.]+(\,\d{1,2})?|\,\d{1,2})\s$ but I need a combin...
Submitted by
TimJ
-
10 years ago
11
Codice fiscale
PCRE (PHP <7.3)
Check "codice fiscale"
Submitted by
Luca
-
9 years ago
4
Strip multi-line (star) comments from JavaScript, while leaving any CDATA sections intact.
PCRE (PHP <7.3)
This regular expression removes multi-line (star) comments from JavaScript, while leaving any CDATA sections intact. Use the global (g) modifier to match them all (if you plan to use PHP's preg_replace, the g modifier is not necessary), and use the (s) modifier to make dots match newlines (this will...
Submitted by
Dane MacMillan
-
11 years ago
9
Removing an XML Nodes namespace prefix from a XML string wit
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
10
Just validate one sequence of
PCRE (PHP <7.3)
sdfs sdfs FLBREV00022230 dsfsdfs sdfsf FLBREV00022234 In this case is false
Submitted by
Fiipe
-
10 years ago
3
split sentence regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
4
Get stuff inside <a> tags
PCRE (PHP <7.3)
Get stuff inside tags, which are between certain words
Submitted by
Jerry
-
11 years ago
7
PAN CARD validation
PCRE (PHP <7.3)
checks for valid PAN card for Indian users.
Submitted by
karan thakkar
-
10 years ago
1
2
3
4
5
...
580
PrivtBank Receipt Parser vx520
1
Regular Expression
.NET 7.0 (C#)
@"
.
*
сума
[
:
\s
]
+
(?<suma>
\d
{1,5}
[
.,
]
\d
{1,2}
)
.
*
(?<pan>
[
0
-
9X
\*
]
{16}
)
.
*
термі
.
*
(?<terminalId>
[
A
-
Z0
-
9
]
{8,10}
)
.
*
код
автор
.
*
(?<approvalCode>
\d
{1,6}
)
.
*
чек
.
*
(?<chq>
\d
{1,10}
)
.
*
rrn
[
:
\s
]
+
(?<rrn>
\d
{1,12}
)
"
mi
Open regex in editor
Description
PrivtBank Receipt Parser vx520
Submitted by
anonymous
-
2 months ago
(Last modified 2 months ago)