Regular Expressions 101

Sponsors

Library entries

1
python

Test end

Test end
Submitted by anonymous - a year ago
1
pcre

kim_emails

Regexp for simple emails
Submitted by Vladislav Kim - a year ago
1
python

link findall

Submitted by Kerem Göksu - a year ago
1
python

Don't match numbers longer than 5 length

using ^ and $
Submitted by anonymous - a year ago
1
python

ss001

Rep
Submitted by anonymous - a year ago
1
java

11

11
Submitted by 11 - a year ago
1
python

Remove HTML tags and comments

Remove HTML tags and comments
Submitted by Smit Patel - a year ago

Full Best URL Regex Match

Vote

2

Regular Expression
pcre

/
^(?<protocol>[a-z\-]+)?:?(?<slash>\/\/)?(?<host>[a-zA-Z0-9\.]+)?(?P<port>:\d+)?$
/
gm

Description

Loading markdown...
Submitted by divineniiquaye - 2 years ago