Regular Expressions 101

Sponsors

Library entries

1
pcre

test

no description available
Submitted by Honza Břečka - 8 years ago
1
pcre

foobar

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

json

{1:aa,2:bb,3:"aa:bb"}
Submitted by suat & umut - 8 years ago
1
pcre

json

no description available
Submitted by suat & umut - 8 years ago
1
pcre

Match Markup

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

number validator

exclude data with space and "-"
Submitted by HMK - 8 years ago
1
pcre

Number invalidator

Including +/-12.3. etc. Excluding MH12, etc.
Submitted by HMK - 8 years ago

Regular expression for both IPv6 and IPv4 URL

Vote

-2

Regular Expression
pcre

/
(?=(([0-9a-fA-F]{4}):([0-9a-fA-F]{4}):([0-9a-fA-F]{4})::([0-9a-fA-F]{4}))|(^\s*(((https?(?![0-9][a-zA-Z]):)?(//)((w{3}?).)?)?)([\w-]+\.)+[\w-]+(\/[\w- ./?%&=]*)?\s*$))
/
regular expression

Description

Loading markdown...
Submitted by Henry Li - 8 years ago