From: Jonathan Lim Date: 2003-09-27T12:47:24+09:00 Subject: Re: regexp needed to split letters from numbers On Saturday 27 September 2003 4:17 am, Thomas A. Reilly wrote: > I would appreciate it if someone could give me the regexp that it would > split the following: > for example - > "clonidine300 mg" into "clonidine 300 mg" /([^\d]+)(\d+)\s*mg/ -- SuSE Linux 8.2 (i586) Linux 2.4.20-4GB-athlon ruby 1.8.0 (2003-09-10) [i686-linux]