Hi Guest 1 HomePage 1 Jobs 1 WalkIn 1Articles  

 :) Latest Topic
 


  

 
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)





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 |