find tabs or lack there of
Posted: Sat Dec 03, 2011 11:13 am
Hi
Sorry for the newbie question, I'm not a programmer.
I'm looking at a flashcard file. It is a tab delimited file, with tabs separating the fields on each line.
I'd like a couple of regex please.
1) bookmark every line where number of tabs is 0. There is no tabs on a line
2) bookmark every line where number of tabs is 1. There is exactly one tab on a line.
3) bookmark every line where number of tabs is greater then one. That is 2 or more tabs on a line.
thanks
Sorry for the newbie question, I'm not a programmer.
I'm looking at a flashcard file. It is a tab delimited file, with tabs separating the fields on each line.
I'd like a couple of regex please.
1) bookmark every line where number of tabs is 0. There is no tabs on a line
2) bookmark every line where number of tabs is 1. There is exactly one tab on a line.
3) bookmark every line where number of tabs is greater then one. That is 2 or more tabs on a line.
thanks