Regular Expressions 101

Sponsors

Library entries

6
javascript

Email

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

Cucumber feature regex

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

g-test

little test for g modifier
Submitted by anonymous - 7 years ago
1
pcre

/software version

only xxx , xxx.xxx and xxx.xxx.xxx are allowed
Submitted by neha tiwari - 7 years ago
1
pcre

Places Regex

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

Set in String

no description available
Submitted by Mohammad - 7 years ago
1
pcre

LettersChangeNumber

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

ip username

no description available
Submitted by D17 - 7 years ago
1
pcre

IP username

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

dawdw

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

match anything before 19-35pm

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

match time all the way up to 23:59.

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

match any time before 20:05

no description available
Submitted by anonymous - 7 years ago

URL parser/validator

Vote

1

Regular Expression
pcre

/
^(https?:\/\/)? # optional scheme ((?:[-a-z0-9._~!$&\'()*+,;=]|%[0-9a-f]{2})+ # optional username@, (?::(?:[-a-z0-9._~!$&\'()*+,;=]|%[0-9a-f]{2})+)?@)? # or username:password@ (?:((?:(?:\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])\.){3}(?:\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])) # IPv4 address |((?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z][a-z0-9-]*[a-z0-9])) # or dot-separated domain labels (:\d+)? # optional port number ((?:\/(?:[-a-z0-9._~!$&\'()*+,;=:@]|%[0-9a-f]{2})+)*\/?) # path (possibly empty, may end in /, no double-// allowed) (\?(?:[-a-z0-9._~!$&\'()*+,;=:@\/?]|%[0-9a-f]{2})*)? # optional querystring (\#(?:[-a-z0-9._~!$&\'()*+,;=:@\/?]|%[0-9a-f]{2})*)?$ # optional fragment
/
ix

Description

Loading markdown...
Submitted by doin - 7 years ago