Hi Guest 1 HomePage 1 Jobs 1 WalkIn 1Articles 1 1
   

 :) Topic of Day
 

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 asp net questions
 :) Hot Jobs
 :)
 :) Most Searchable
 


  

 
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

InputAnswer:-

To view Solution for above Regex



Other Important Questions
Regex Tutorial
Regex introduction 2nd step and matching Digits
Nested Groups
More Group Work
Conditional Regex







  
 :) Categoriese
abc…Letters
123…Digits
dAny Digit
DAny Non-digit character
.Any Character
.Period
[abc]Only a, b, or c
[^abc]Not a, b, nor c
[a-z]Characters a to z
[0-9]Numbers 0 to 9
wAny Alphanumeric character
WAny Non-alphanumeric character
{m}m Repetitions
{m,n}m to n Repetitions
*Zero or more repetitions
+One or more repetitions
?Optional character
sAny Whitespace
SAny Non-whitespace character
^…$Starts and ends
(…)Capture Group
(a(bc))Capture Sub-group
(.*)Capture all
(abc|def)Matches abc or def
 :) Most Visited Questions

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...


Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...


Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...


What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...


Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...

Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |