Regular Expressions 101

@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
Whats new?

Library entries

1
javascript
Submitted by donivanes - 32 minutes ago

Greater manchester postcode validation

🤯
0
javascript
Submitted by anonymous - 12 hours ago

match

ádf
0
python
Submitted by guif - a day ago

regex_restauratio_Vé

regex
0
python
Submitted by guif - a day ago

regex_restauration

regex
0
pcre2
Submitted by fl0 - a day ago

parse/replace closed tag

parse and replace a {tag}..{/tag} or {tag}
0
javascript
Submitted by anonymous - a day ago

Matching anything minimum 1 character, max 50

^.{1,50}$
0
pcre
Submitted by Mark - 3 days ago

RangeForce exercise

exercise
0
pcre2
Submitted by ramses - 4 days ago

email

........

Extract Protocol, URL, URL Path, get parameters and hash from URI

Vote

7

Regular Expression
python

"
^(http[s]?:)+\/\/([^:\/\s]+)([^#?\s]+)\?([^#]*)?(#.*)?$
"
i

Description

Loading markdown...
Submitted by Dale O'Brien - 7 years ago