On Apr 23, 2012, at 20:43, Allen Hancock <[email protected]> wrote: > Given 3 columns of text with tabs in between, what grep pattern (I assume > that's the best way to handle this) would select the first character after > the 2nd tab?
[^\t]*\t[^\t]*\t([^\t]*) Sort on \1 Basically what you are saying is, I want any number of characters (*) that are not a tab ([^\t]) followed by a tab, twice. Then, I want you to grab the next set of characters that are not tabs into a buffer () and since that's the first buffer, it will be named \1. Now sort on that buffer. -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
