Last active
May 29, 2019 04:35
-
-
Save iamitshri/b1fc90c36674c7c74cb375aa42daeec0 to your computer and use it in GitHub Desktop.
Regex Lookahead Lookbehind
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POSITIVE LOOKAHEAD | |
(?<=e)I.*? --> 'empIloyeeId' --> Matches only 'I' if its preceded by e | |
Negative LookBEHIND | |
(?<!e)I.*? --> 'empIloyeeId' --> Matches only 'I' if its NOT preceded by e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment