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 Read more…

By faltutech, ago
Regex

Position Matching RegEx

Using Boundaries : Position matching is used to specify where within a string of text a match should occur.  To understand the need for position matching,consider the following example: TEXT The cat scattered his food all over the room. REGEX Read more…

By faltutech, ago