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
Community Patterns
Search among 11,960 community submitted regex patterns...
3
Get any positive integer
PCRE (PHP <7.3)
All real numbers can be divided into three categories: positive, negative and zero; Match all positive number Match: 2 9...
Submitted by
norihiori, Me-me
-
8 years ago
0
Xml Parser!
PCRE (PHP <7.3)
Captures TagName, attributes and value in seperate groups. --- Apply same pattern on capture group #3 (using recursion) to parse entire xml! --- Apply regex defined in teststring to capture group #2 to parse all the attributes for the current tag.
Submitted by
veryanonymous
-
8 years ago
-4
Xml Parser
PCRE (PHP <7.3)
Captures TagName, attributes and value in seperate groups. --- Apply same pattern on capture group #3 (using recursion) to parse entire xml! --- Apply regex defined in teststring to capture group #2 to parse all the attributes for the current tag.
Submitted by
veryanonymous
-
8 years ago
-3
Xml Parser (improved description)
PCRE (PHP <7.3)
]+)\s()\s(?:\/>|>(.)) - (with global) finds all tags in scope 1st group is tagname 2nd group is attributes 3rd group (if it exists) is value of the tag ...
Submitted by
veryanonymous
-
8 years ago
-4
Xml parser
PCRE (PHP <7.3)
Captures TagName, attributes and value in seperate groups. Apply same pattern on capture group #3 (using recursion) to parse entire xml! Apply regex defined in teststring to capture group #2 to parse all the attributes for the current tag.
Submitted by
veryanonymous
-
8 years ago
1
IklusivVolumen
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Time Parsing
PCRE (PHP <7.3)
no description available
Submitted by
Michael Stemle
-
8 years ago
1
Extract name of tables from a SQL
PCRE (PHP <7.3)
Assumes the database name starts with "IDP_PRD_"
Submitted by
Vance
-
8 years ago
1
SSL Expiration and Domain Extract
PCRE (PHP <7.3)
no description available
Submitted by
Nick Ramos
-
8 years ago
1
test de @
PCRE (PHP <7.3)
test de @
Submitted by
anonymous
-
8 years ago
1
currency
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
ftp response from ftpwebrequest
PCRE (PHP <7.3)
no description available
Submitted by
azhar
-
8 years ago
1
URL-http(s)
PCRE (PHP <7.3)
Tests for valid http or https protocol URL. *2 groups- one for protocol,domain, and any subdomains; and one for path, query, params, and fragments(if any. The following WILL match: http://foo.com/blah_blah http://foo.com/blah_blah/...
Submitted by
Brennan
-
8 years ago
1
E-mail RegExp
PCRE (PHP <7.3)
Expreção Regular para E-Mails.
Submitted by
Mizael Silva Lemos nemeses606@gmail.com
-
8 years ago
1
http.edu.tr
PCRE (PHP <7.3)
no description available
Submitted by
html
-
8 years ago
1
Выделить полный индекс МПК и его составные части
PCRE (PHP <7.3)
no description available
Submitted by
Irina
-
8 years ago
1
Eu format currency support different currencies
PCRE (PHP <7.3)
3.332.987,00 € $ 3 34,2 $
Submitted by
mattmezza
-
8 years ago
1
AIX ps -ef
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Last character
PCRE (PHP <7.3)
Get the last character from any line of a string
Submitted by
Edward Aryee
-
8 years ago
0
File path seperator
PCRE (PHP <7.3)
Seperate any file from it's path and trim extention, creating two groups
Submitted by
Edward Aryee
-
8 years ago
1
...
457
458
459
460
461
...
598
sun_reservation_flights
2
Regular Expression
PCRE (PHP <7.3)
/
(
[
A
-
Za
-
z
]
+
)
\s
(
[
A
-
Za
-
z
]
+
)
\s
(
[
A
-
Z
]
{2}
)
\s
(
[
0
-
9
]
+
)
\s
(
[
A
-
Za
-
z
]
+
)
(
\s
+
)
(
[
A
-
Z
]
)
\s
(
[
0
-
9
]
{1,2}
)
\/
(
[
0
-
9
]
{1,2}
)
\/
(
[
0
-
9
]
{4}
\s
)
(
[
0
-
9
]
{1,2}
)
:
(
[
0
-
9
]
{1,2}
)
\s
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago