Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^(https?:\/\/)?([\da--я\.\-_]+)\.([a--я\._]{2,6})([a--я\d\.\-\?\/&=#%_]*)*
/
gmi

Description

URL pattern. include cyrillic characters

Submitted by Bobsans - 8 years ago