I'm searching for a tab at every end of a word. Something like \l\t
now I want to replace the tab with a space.
How can I exchange the tab with a space without changing the word?
Search for
(?<=\w)\t
and replace by a space (or \s
)
FYI: This will strictly look for a tab placed after any word character.
(?<=\w)
exactly working? How would it look like if I'm searching for a tab ahead of a word character?
\t(?<=\w)
– That isn't the right syntax, isn't it?
<
is the bit that means ‘look backwards’, so if you're looking for things after a word, you don't want to include that. (?=)
means look ahead; (?<=)
means look back.
Commented
Aug 31, 2017 at 20:07