'How to search with a criteria in sublime?
in sublime if you want to search for a string "apple" but not "apple." How do you do that? Thank you all.
I heard somewhere you can add a - to substract unwanted hit but don't know where to put it.
Solution 1:[1]
With regular expression, you can use:
\bapple(?!\.)
Where (?!\.) is a negative lookahead that make sure we haven't a dot after apple and \b is a word boundary to be sure to not match pinapple
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Toto |
