<?xml version="1.0" encoding="windows-1252"?>
<node id="984543" title="Removing extra spaces" created="2012-07-30 20:59:25" updated="2012-07-30 20:59:25">
<type id="115">
perlquestion</type>
<author id="984541">
rickoy</author>
<data>
<field name="doctext">
I have a string:

2 0 1 2 - 7 - 2 7 9 : 3 7 : 3 1

As you can see, each character in the string are separated by 1 space and the date and time are separated by 2 spaces. I would wish to reduce the spaces so that if there are 2 spaces in between characters, it will become 1 space and if there is 1 space in between characters, then it will be gone.</field>
</data>
</node>
