Regular Expressions 101

Sponsors

Library entries

6
python

Find consecutive duplicate words

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

Email with + symbol

email that accepts the plus (+) symbol
Submitted by luckcheese - 7 years ago
6
javascript

HTML img

Grabs all HTML tags
Submitted by Pirate11 - 7 years ago
6
javascript

Email

no description available
Submitted by anonymous - 6 years ago
7
python

CSS Import

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

Match text (not within html tag)

no description available
Submitted by Moistly - 7 years ago
7
python

repeat group match

no description available
Submitted by anonymous - 7 years ago

http url regex

Vote

17

Regular Expression
javascript

/
^((https?:)(\/\/\/?)([\w]*(?::[\w]*)?@)?([\d\w\.-]+)(?::(\d+))?)?([\/\\\w\.()-]*)?(?:([?][^#]*)?(#.*)?)*
/
gmi

Description

Loading markdown...
Submitted by Miguel Castillo @manchagnu - 7 years ago