From: Joe Karma Date: 2006-07-23T05:52:30+09:00 Subject: Re: Newbie Question: delete all non alphanumeric characters On 7/21/06, Theallnighter Theallnighter wrote: > Hi all, > how can i delete all non alphanumeric characters in a string ? thanks > > -- > Posted via http://www.ruby-forum.com/. > > TMTOWTDI: username.delete('^A-Za-z0-9') ...I just thought I'd add a little variety to this collection of Regexp-centric solutions.