Search found 2 matches

by Valuex
08.01.2023 00:24
Forum: General - CudaText
Topic: How to add \t before and after the number using regex
Replies: 3
Views: 932

It works! Thank you very much. @miro. matas
by Valuex
07.01.2023 09:04
Forum: General - CudaText
Topic: How to add \t before and after the number using regex
Replies: 3
Views: 932

How to add \t before and after the number using regex

I get the following text snippet

Code: Select all

a12b
c23d
I would like to add tab before and after the digital number, like

Code: Select all

a  12  b
c  23  d
I've tried to find

Code: Select all

(\d{2})
, and replace it with

Code: Select all

 \t\1\t
, but it doesn't work.
Any comment on how to make this kind of replacement work? Thanks.