Search found 3 matches

by naxshio
Fri Apr 27, 2012 11:37 am
Forum: General
Topic: replace with regular expressions
Replies: 4
Views: 1497

replace with regular expressions

Hello,

I would like to change several strings at the same time I don´t figure it out. I have, for example these two different strings in the same text file:

dlc1.2a.$07
dlc2.2a.$07

The goal is to replace them with the same name except the the first "." character in only one step using regular ...
by naxshio
Thu Dec 16, 2010 8:33 am
Forum: General
Topic: unable to replace
Replies: 4
Views: 632

Hi Ben,

The issue is that I need to delete the second amount in the secuence of four and not to modify the place of the other numbers. When I write (PCOMPG [0-9]) [^ ]+ it doesn´t work.

Yhank you
by naxshio
Wed Dec 15, 2010 6:03 pm
Forum: General
Topic: unable to replace
Replies: 4
Views: 632

unable to replace

please I have 15000 lines such as :
PCOMPG 1 -45.77 0. 0.
PCOMPG 2 -38.88 0. 0.
PCOMPG 3 -27.76 0. 0.
PCOMPG 4 -33.81 0. 0.

and so on....

I need to replace them by something like this:

PCOMPG 1 0. 0.
PCOMPG 2 0. 0.
PCOMPG 3 0. 0.
PCOMPG 4 0. 0.

repecting the alineations. How could I do it?
Thank ...