From: Jeppe Jakobsen Date: 2006-01-30T02:31:44+09:00 Subject: Scanning for more than one specific character with String#scan ------=_Part_18005_11077550.1138555887731 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi all, here is my question: Lets say that I have a variable: aString =3D "1234s * 4234k" I'll then like to scan for the units (the s and the k) after each integer: anArray =3D aString.scan(/s/) Well that got me the s, but what expression do I have to use, if I want to scan for both s and k? ------=_Part_18005_11077550.1138555887731--