Hi Team,
Need little help with Regex… I am pretty new to regex and not able to build regex for below type condition:
- 1 Numeric Digit
- 2 Capital Character
- 2 small character
example-
4MNoi
Mpq5R
yt7DC
T2vNs
-Ahtesham
Hi Team,
Need little help with Regex… I am pretty new to regex and not able to build regex for below type condition:
example-
4MNoi
Mpq5R
yt7DC
T2vNs
-Ahtesham
@md.ahtesham
https://regex101.com/ will help much on starting with regex and doing some practicals
just have look on
\d for digits
[a-z], [A-Z] lower, upper case letters
{1} occurence
e.g. (\d{1}) finding 1 digit
\d{1}[A-Z]{2}[a-z]{2}
oh now i see you want it to be scrambled… so that wont work always… you will need to test it one after the other i guess…
@bcorrea True…
This will not work always. Above 4 example should be matched by single regex. That’s what i am looking for