Check out rubular.com where you can interactively match text with your regular expression. This will help you confirm when you're on the right track. 

From my iPhone 
---
Pat


On Sep 9, 2011, at 8:02 AM, "Cyril J." <cyril.varghese.jose / gmail.com> wrote:

> Hello all,
> 
> I am trying to match this pattern: >1_9_1912_F3
> 
> Here is my stab at it:
> if f3_entry =~ /(>*\_*\_*\_F3)/
>  f3_out.puts f3_entry
> end
> 
> Obviously, it doesn't work. I need to match whatever is between those
> underscores. Am i going in the right direction? Thanks in advance!
> 
> - C
> 
> -- 
> Posted via http://www.ruby-forum.com/.
>