Select data between tabs
Hi, I have a tab-delimited file. I’m writing a macro, and I’d like to select data between 2 tabs, and copy it to the clipboard. I can get to the correct spot, but can’t figure out how to select the data that is between the 2 tabs so I can copy it.
how to select the data that is between the 2 tabs so I can copy it.
Well, a regex (regular expression) would do it. Of course without knowing much of the sample data I can only work with the little you have stated.
So using the “Find” function, and set search mode to regular expression.
Then use the “Find Next” button. See if that can be incorporated into your macro. This regex will also include the next tab, I was unsure whether you did want that or not.
Thank you, that is exactly what I needed!
The OP’s data has a TAB character (
\x09) followed by some data followed by a TAB character, and wants to select the data that comes between two