From: Eyal Eizenberg Date: 2011-10-03T16:06:25+09:00 Subject: Re: Need some help with regexp Is there a way to do it so that the $& will contain "MARCOCHEN"? Isaac Sanders wrote in post #1024664: > You are getting that because you have spaces in it. You can get the same > result if you use /(\S+)/ and using the $1 variable, which should > contain > "MARCOCHEN". > -- Posted via http://www.ruby-forum.com/.