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
 


  

 
Nested Groups
Question Posted on 19 Apr 2020

Home >> Tutorial >> Regex >> Nested Groups


Nested Groups
When we are working with complex data then we have to handle multiple layers of layers which can result in nested groups. In below regex we need test a specified type of text as given in below example

(12)Excercise :- Nested Groups
Task    Text
Match    Jan 1987
Match    May 1969
Match    Aug 2010

write an expression that matches and captures both the full date, as well as the year of the date.

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 |