a='hi how are you_I am fine"

now if write a[/(.*)/_] here it includes "_" symbol also with hi how are
you. I can use delete() function to delete "_" but I would like to
handle using regular expression alone. how would I write for that?

require output is,

'hi how are you'

-- 
Posted via http://www.ruby-forum.com/.