From: Shea Barton Date: 2010-11-11T12:08:37+09:00 Subject: Re: Total string length regex I've actually been using rubular - but unfortunately it isn't quite as helpful for more advanced regexes involving lookaheads / behinds etc. Although I found a proper regex that worked using Joel's example, a better solution to the problem was just to use my existing regex with validates_format_of, in conjunction with validates_size_of -- Posted via http://www.ruby-forum.com/.