In addition to bruce’s answer:

You can replace with \t&

The ampersand represents the entire found string, so you’re replacing the 4 
digits with a tab followed by the original 4 digits.

Cheers


> On 2019-04-29, at 09:53, gebseng <[email protected]> wrote:
> 
> In bbedit 12, I am using grep in the Find window to search for this pattern: 
> \d\d\d\d (number with four digits), which works fine.
> 
> However, now I do not want to replace the search results with something lese, 
> but rather I would like to insert a tab (\t) BEFORE each occurence of 
> \d\d\d\d. is there a way to do that?

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to