Re: [gedit-list] Doubt about regex on gedit
- From: No Reply <moviemanagementdynweb gmail com>
- To: Wagner De Queiroz <wagnerdequeiroz gmail com>
- Cc: gedit-list gnome org
- Subject: Re: [gedit-list] Doubt about regex on gedit
- Date: Tue, 4 Oct 2016 21:56:24 +0200
Hi!
This seems to be more of a regex problem than a gedit problem.
My solution would be:
Text: 'Delivered','-48,2365','-23,3256','FXO'
Regex: '-(\d\d)\,(\d\d\d\d)'
Replace regex: '-\1.\2'
Output: 'Delivered','-48.2365','-23.3256','FXO'
\1 and \2 reference the first and second group (The regex in the parentheses
However I did not test it with gedit.
I hope it helps
Best regards
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]