in reply to simple regex problem
ors/\s+/:/g
\s = space-like things, like tabss/[ ]+/:/g
You might want to have a look at perldoc perlre. What you have matches anything (".") twice and then one or more spaces, replacing them all with a colon.
--
Allolex
Update: I updated this page a whole lot of times, adding more and more info each time. Silly, isn't it?
|
|---|