I want to match all non-tab characters at the start, or end, of a string. For example, I have the following tab-delimited string where the two columns also contain a space:
a aataaa\tbbbtb bb.
If I want to match the first column, I should be able to do:
I want to match all non-tab characters at the start, or end, of a string. For example, I have the following tab-delimited string where the two columns also contain a space:
a aataaa\tbbbtb bb
.If I want to match the first column, I should be able to do:
It should match anything with in not a tab. However, as you can see, it matches upto, but not including the "t" rather than the tab.
Similarly, trying to match the last column: