Reply To: GREP help! Ignore 2nd Tab?

#84976
Ari Singer
Member

The following GREP expression is much more robust as it finds the first instance of a tab in a sentence regardless of how many tabs follow it. Because Skemicle’s expression (as he noted himself) only works if you have exactly two tabs in the paragraph. if there’s only one, or more than two it doesn’t work they way it should. Plus, if you have two tabs consecutively (highly unlikely, but still…) it won’t find either of them. But the following expression has none of those issues:

Find What: (?!=*$)
Change To:

G’luck!

This article was last modified on May 17, 2016

Comments (0)

Loading comments...