Negative lookahead

A negative lookahead assertion asserts true if the pattern inside the lookahead is not matched.

The following is its syntax:

(?!...) 

For example, abc(?!xyz) asserts that there cannot be a string, xyz, immediately after matching the string abc.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.152.58