Regular Expressions 101

Sponsors

Library entries

1
python

Parse Data Fields

Parsing example
Submitted by anonymous - 5 hours ago
0
javascript

rwd

rwd
Submitted by anonymous - 16 hours ago
0
javascript

Cbre bookingid

a
Submitted by anonymous - 20 hours ago
0
pcre

get arrays from Json

get arrays from Json
Submitted by fawaz - 2 days ago
0
pcre2

Match CamelCase

Matches PascalCase or CamelCase
Submitted by anonymous - 2 days ago
0
pcre2

nr_classe

separação de um código numérico simples
Submitted by anonymous - 2 days ago
0
python

month with year extraction

ready code
Submitted by anonymous - 3 days ago
0
pcre2

General regular expressions

General
Submitted by Stavros - 3 days ago
0
pcre2

Database_Data_Type

DatabaseDataType
Submitted by anonymous - 3 days 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 - 6 years ago