A
A
Alexander Koregin2019-03-06 15:20:49
HTML
Alexander Koregin, 2019-03-06 15:20:49

How to make patterns?

Help make patterns.
Here is the task:
Password - from 6 to 8 characters, Cyrillic and Latin, no consonants, at least 3 numeric characters, there should be no special characters, including spaces
I could make it without letters
:

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2019-03-06
@dodo512

Without consonants https://regex101.com/r/AzSZBH/3
Without vowels https://regex101.com/r/AzSZBH/2

^(?=[\dB-Zb-zБ-Ьб-ь]{6,8}$)(?!.*[IUOEiuoeОИЕЁЫУоиеёыуiuoe])(\D*\d){3}.*

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question