in reply to Re^3: Regular Expressions: Removing 'only' single spaces from a string
in thread Regular Expressions: Removing 'only' single spaces from a string
$string =~ s/(\S)\s(\S)/$1$2/g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Regular Expressions: Removing 'only' single spaces from a string
by Roy Johnson (Monsignor) on Oct 20, 2005 at 23:32 UTC |