From: Alexander McMillan Date: 2011-04-26T19:18:29+09:00 Subject: Re: Replace any multiple whitespaces with single white space --_556e7513-245d-4f37-88f4-16d646c1b3a0_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Try gsub for multiple characters - Try code below:=20 =20 descrip =3D "1/4 WELDING LEVER FRONT DRW 14844-C MAT WM= A1CM-WLFRONT" puts descrip.gsub!(/\s+/=2C' ') = --_556e7513-245d-4f37-88f4-16d646c1b3a0_--