Try using rubular.com to verify your regular expression. This a great tool to help with developing regular expressions. 

From my iPhone 
---
Pat


On Sep 22, 2011, at 6:35 AM, "Saurabh A." <getsauin / gmail.com> wrote:

> Is this right.
> 
> str.match(/(\w)(\d+)(\d+)/)
> 
> -- 
> Posted via http://www.ruby-forum.com/.
>