Regular Expressions 101

Sponsors

Library entries

0
pcre

phone valid

no description available
Submitted by anonymous - 7 years ago
0
pcre

Phone numbers

PHP
Submitted by anonymous - 7 years ago
0
pcre

Facebook url regex

no description available
Submitted by Devs Devaras - 7 years ago
0
python

Match HTTP error code

no description available
Submitted by anonymous - 7 years ago
0
pcre

Registration Email Address

no description available
Submitted by anonymous - 7 years ago
0
pcre

IP V4 with leading zero values

no description available
Submitted by shA.t - 7 years ago
0
pcre

negative lookbehind

no description available
Submitted by anonymous - 7 years ago
0
pcre

Match links in html

Matches all from
Submitted by anonymous - 7 years ago

XML Parsing for IE<9

Vote

0

Regular Expression
javascript

`
(?:<!\[CDATA\[(?<cdata>.*?)\]\]>|(?<xml><\?.*?\?>)|<!--(?<comment>.*?)-->|<\s*(?<tag>[A-z][A-z0-9-_.:]*)(?:\s+(?:[A-z][A-z0-9-_.:]*)\s*(?:=\s*(?<quote>["'])((?:\\\k<quote>|(?:(?!\k<quote>)).)*)(\k<quote>)\s*)?)*\s*(?:/\s*>|>(?<innerHTML>.*)?<\s*/\s*\k<tag>\s*>)|(?<text>[^<]*))
`
gms

Description

Loading markdown...
Submitted by Odd Stråbø - 7 months ago