Regular Expressions 101

Library entries

Cyrillic URLs

Vote

1

Regular Expression
python

"
^(?:(?:http|https)://)?((?:[A--ЯЁ0-9](?:[A--ЯЁ0-9-]{0,61}[A--ЯЁ0-9])?\.)+(?:[A--ЯЁ]{2,6}\.?|[A--ЯЁ0-9-]{2,}(?<!-)\.?))(?:/?|[/?]\S+)$
"
iu

Description

Loading markdown...
Submitted by MrYodda - 6 years ago