On 04 Jun 2010, at 14:28, Srinivas Golyalla wrote:
Can u help me in simple regular expression that will match the string ‘123_456_7890’ but not ‘123_456_789’.
The thing you're asking is not very specific, there's a lot to be interpreted, but this might be what you are looking for: \d{3}_\d{3}_ \d{4}
Best regards Peter De Berdt -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.