Regex
Using Subexpressions in RegEx
We need subexpressions for complex and refined output. We can refine our output by grouping the expressions. E.g. Test Case – HelloHello RegEx – Hello{2,} Result – Hello{2,} It will not match any Hello because above expression is finding 'Hell' and atleast two occurence of 'o'. So, we need to create Read more…