Hi Guest
HomePage
Jobs
WalkIn
Articles
Java
DotNet
WebServices
Mathematics
OOPS
WEB
SharePoint
Agile
DataBase
Artificial Intelligence
BigData
Android
XML
Agile
Software
SEO
Science Techonlogy
Repository
PHP
Frameworks
Server
Testing
HR
Java
TPF
Tutorial
Tools
Test and Papers
Silverlight
Science Techonlogy
----- Select Country -----
----- Select Country -----
----- Select Location -----
-----Select Category-----
BigData
Science Technology
SEO
Agile
Mathematics
Server
Important Topics
CMS
Software
Microsoft InfoPath
Repository Questions
TPF
Cloud
Frameworks
Placement Paper
Government Private Jobs
API
Tutorial
Programming Languages
PowerShell
Operating System
Tools
DotNet
DataBase
WebServices
OOPS
WEB
SharePoint
SilverLight
Artificial Intelligence
Java
Gernal Knowledge
PHP
Biztalk
Testing
SAP
HR
XML
Test and Papers
Android
Python Programming
Applications
CAT
Mobile APP
Trending Technologies
Apache Hadoop
Angular
Script
Devops
Networking
iOS
Style Sheet
Quantitative Aptitude
Computer
BigQuery
Protocol
ETL
Application Server
Roles and Responsibilities
Oracle
Hosting and Domain
Microsoft Products
Threat and vulnerability
Azure Topics
VBA
Business Intelligence
Accounting
REST
GDS
Reporting Services
Laws
SQL Server
Microsoft Certifications
DevOps Certifications
Certifications
Amazon Certification
Google Certifications
Apple Certification
Blockchain Certification
Authentication Authorization
GATE
Cisco Certifications
PMI Certifications
HashiCorp Exams
ServiceNow Exams
Articles
:) 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
d
Any Digit
D
Any 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
w
Any Alphanumeric character
W
Any Non-alphanumeric character
{m}
m Repetitions
{m,n}
m to n Repetitions
*
Zero or more repetitions
+
One or more repetitions
?
Optional character
s
Any Whitespace
S
Any 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...
What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript
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...
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
|
Privacy policy |
Terms and Conditions
| Blog
If the copyright of any questions or content or syntax belong to you email us we will remove that(info@crackyourinterview.com or crackyourinterview2018@gmail.com)
Home
About Us
GroupChat
Sitemap
Feedback
Contact us