|
Regex for repeat of some character Question Posted on 04 Apr 2020 Home >> Tutorial >> Regex >> Regex for repeat of some character |
Regex for repeat of some character
Here we will learn how to handle and repeat occurance of any character wheather it is numeric or alphanumeric here we will use {3} . It will do occurance upto to 3 times. And we can also set range here like {3,5} this means number can in between 3 to 5. Now we will take example here a{3-5} means it can be aaa,aaaa or aaaaa. Now look at below 3 task 2 need to match and one need to skip
(6)Excercise :- Repeat of Specific Characters
Task Text
Match patttttz
Match patttz
SKIP patz | |
|