in reply to Removing dots
It's hard to say what the best solution would be without knowing exactly what dots you don't want removed, but for the example you give,
does the job. Ors/\.//;
...ors/\.(?!txt$)//g
s/\.(?![^.]+$)//g
the lowliest monk
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Removing dots
by Anonymous Monk on May 08, 2005 at 14:52 UTC | |
by tlm (Prior) on May 08, 2005 at 15:17 UTC | |
by eibwen (Friar) on May 08, 2005 at 19:38 UTC |