From: Jano Svitok Date: 2008-04-08T05:29:38+09:00 Subject: Re: Extract youtube video id with eval? On Mon, Apr 7, 2008 at 10:21 PM, comopasta Gr wrote: > Hmm. Just read some stuff about eval. The video url is initially > provided by users. So is it wise to use eval for that (?) Try using Regexps. BTW, somebody asked very similar question not too long ago: http://www.ruby-forum.com/topic/143788