Regular Expressions 101

Sponsors

Library entries

0
pcre

$ en anglais ($xx.xx)

$ en anglais ($xx.xx)
Submitted by EA - 8 years ago
3
pcre

Nombres 4 chiffres

Nombres 4 chifres
Submitted by EA - 8 years ago
1
pcre

Site (Régis)

Site Régis
Submitted by EA - 8 years ago
1
pcre

Site FR

Site FR, pour trouver la version correcte.
Submitted by EA - 8 years ago
1
pcre

noted xanbot

no description available
Submitted by NotedBinkie - 8 years ago
1
pcre

hex string

match 00aabbcc... or 00:aa:bb:cc...
Submitted by minji - 8 years ago
1
pcre

java

no description available
Submitted by anonymous - 8 years ago
1
pcre

reddit test match

just a test match
Submitted by anonymous - 8 years ago
1
pcre

cpc=ordinary

no description available
Submitted by anonymous - 8 years ago
1
pcre

exemplo-flex-3

no description available
Submitted by anonymous - 8 years ago

Match XML that has a single root element

Vote

-2

Regular Expression
pcre

/
^\s*(?:<\?xml[^>]+>)?\s*<([^>]+?)>[\s\S]+?<\/\1>\s*?$
/

Description

Loading markdown...
Submitted by Jerome Wilson - 8 years ago