On Fri, Sep 9, 2011 at 9:39 PM, Gavin Kistner <phrogz / me.com> wrote:
> On Sep 9, 2011, at 9:25 AM, "Cyril J." <cyril.varghese.jose / gmail.com> wrote:
>
>> Thanks Pat rubular helped a lot.
>> I used :
>>
>> ([0-9]*[_][0-9]*[_][0-9]*[_])
>
> Equivalent: /(\d*_\d*_\d*_)/
>
> Or even: /((?:\d*_){3})/

Cyril, are you sure you want to also match "___"?  If not, use

/(?:\d+_){3}F3/

Kind regards

robert


-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/