CategoryRegular Expressions

Lookahead and Lookbehind in regex tutorial


Lookaheads are one of the most powerful feature in regular expressions.  Lookaheads helps you to broaden your matches. You really may need to depend on these lookaheads in many scenarios. For instance, if you want to match every  “N” in the paragraph which is not followed by  a “O” . You cannot use the not (^) , say  /N[^O]/  as it will match the second character also.  So...

Learn useful Regular Expressions,how to use it with examples


 What is Regular Expression? Regular expression(regex) is a specific pattern used to match some texts, its a unique pattern. And by using this pattern we can match texts,strings, numbers,alphabets,symbols or whatever.  How is it useful? Regular expression makes your life easy. It extends the normal search procedure to large range of possibilities. Its very much useful in programming, content...