|
Regex for occurance of any character in range 0 to n Question Posted on 04 Apr 2020 Home >> Tutorial >> Regex >> Regex for occurance of any character in range 0 to n |
Regex for occurance of any character in range 0 to n
Here we will do the same as we done in excercise 6 but here range of character can be 0 to n numbers logic is same as we done in previoud chapter. Here i have given 4 task 3 for match and 1 for skip as given below.
(7)Excercise :- Repeatance Specific Characters
Task Text
Match zzzyxx
Match zzyyyyx
Match zzxx
SKIP z | | Website:- z{2,4}y{0,4}x[1,2} |
Website:- z{2,4}y{0,4}x[1,2} |
|