[gedit-list] Doubt about regex on gedit



Dear gedit masters. I use an Ubuntu 16.04-64bits and I have a cruel doubt about how to replace text on gedit using regex.

I love this program because gedit save my life every time when I open a text there. but I have a cruel doubt about how to replace text using regex filter.

I have a long listing of SQL commands where my program make a mistake:

Like this string:

.... 'Delivered','-48,2365','-23,3256','FXO' .......

when we read '-48,2365' and '-23,3256', we need change from ","(comma)  to "."(period)  to imput in another process.

I used this string on Search for edit box: " -\d\d\,\d\d\d\d"  (the find button find all occurences of that text, wonderful)
but what I can put on the replace with textbox? "\d\d.\d\d\d\d" not work.

to change from:

.... 'Delivered','-48,2365','-23,3256','FXO' .......
to
.... 'Delivered','-48.2365','-23.3256','FXO' .......

This are my very first post here, I searched on Google and not found any hint to fix this.

--
Wagner de Queiroz
Be free with Linux


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]