Reply To: GREP: Finding Zero

#79453
Peter Kahrel
Participant

In your (?<!.)0(?!.) the dot stands for ‘everything’. Try (?<!\.)0(?!\.) and see what happens. If there are more exclusions, do them as classes, as in (?<![\.,(])0(?![\.,)])

Peter

This article was last modified on November 15, 2015

Comments (0)

Loading comments...