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 15,200 community submitted regex patterns...
0
MyRegex
ECMAScript (JavaScript)
Parse
Submitted by
anonymous
-
a year ago
0
First letter of compound name with accent (space, apostrophe and hyphen)
ECMAScript (JavaScript)
First letter of compound name with accent (space, apostrophe and hyphen)
Submitted by
Nale974
-
a year ago
0
IPv4 Address Validation Regex
Golang
IPv4 Address Validation Regex
Submitted by
ulgena
-
a year ago
(Last modified a year ago)
0
VLAN ID Validation Regex
Golang
VLAN ID Validation Regex Please use first segment or second depending on the Extended VLAN usage such as "1-256" or "1-4096" : Non-extended VLAN IDs (1-256), check v2 of the regex entry ...
Submitted by
ulgena
-
a year ago
0
Match import lines
ECMAScript (JavaScript)
Match import lines to disable spelling error in package names.
Submitted by
anonymous
-
a year ago
0
parsing arp -a
Python
Разбивает на части вывод команды arp -a
Submitted by
baldateg
-
a year ago
0
Assoc
Python
Разбивает вывод команды Assoc
Submitted by
anonymous
-
a year ago
0
Driverquery
Python
Установленные драйвера
Submitted by
anonymous
-
a year ago
0
netstat
Python
Активные соединения
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
email valid
Java 8
email validation
Submitted by
Hoot
-
a year ago
0
1-100
PCRE (PHP <7.3)
1-100
Submitted by
anonymous
-
a year ago
0
Dutch postalcode regex
ECMAScript (JavaScript)
Matches first postal code, case insensitive
Submitted by
anonymous
-
a year ago
0
Whatsapp group message id
PCRE (PHP <7.3)
Whatsapp group message id
Submitted by
anonymous
-
a year ago
0
URL SERVER
ECMAScript (JavaScript)
Регулярное выражения для проверки URL адреса сервера
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Fraction to decimal
Python
Convert fractions in for of 7 1/2 or 7-1/2 with optional spacing to 7.5 avoiding expressions like 5-7 / 10-11 to be mistaken as 5-7/10
Submitted by
Waleed Kilany
-
a year ago
0
Regex to match all instances not inside quotes
PCRE (PHP <7.3)
See https://stackoverflow.com/questions/6462578/regex-to-match-all-instances-not-inside-quotes
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Regex to match all instances not inside quotes (inc escaped quotes)
ECMAScript (JavaScript)
See https://stackoverflow.com/questions/6462578/regex-to-match-all-instances-not-inside-quotes
Submitted by
anonymous
-
a year ago
0
TatraBanka AMOUNT_VALUE
Java 8
some descriptoin
Submitted by
Inez van Acker, Robert Schulz
-
a year ago
(Last modified 10 months ago)
0
Simple reduce string words
ECMAScript (JavaScript)
ECMAScript regex to try reduce words
Submitted by
Alan Ferreira
-
a year ago
0
Filtro Página web
PCRE (PHP <7.3)
Filtro pagina web
Submitted by
anonymous
-
a year ago
1
...
740
741
742
743
744
...
760
Match XML that has a single root element
-2
Regular Expression
PCRE (PHP <7.3)
/
^\s
*
(?:
<
\?
xml
[^
>
]
+
>
)?
\s
*
<
(
[^
>
]
+
?
)
>
[
\s\S
]
+
?
<
\/
\1
>
\s
*
?
$
/
Open regex in editor
Description
Can be used as a basic validator to ensure that XML has only a single root element
Submitted by
Jerome Wilson
-
9 years ago