Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
general knowledge
ASP.NET
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
 AngularJS
 :) Hot Jobs
 
 :) Latest Articles


  

 


Conditional Regex
Question Posted on 23 Apr 2020

Home >> Tutorial >> Regex >> Conditional Regex




Conditional Regex
When we had condition to select or not or choose some values as optional . For example we have values are "Car|Scooter|Cycle" here we can use "or". You have to write for below regex where you need to match 2 values and need to skip 2 values.

(14)conditional :- Optional OR
Task    Text
Match    i Love Hat
Match    i Love Rat
  Skip     i Love Led
  Skip     i Love Bed
Website:- i Love (Hat|Rat)
Website:- i Love (Hat|Rat)
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


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






 
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 |