> Hi, I'm trying to write a regular expression to match a quotation mark
> inside a string. Actually, what I want is to extract the text between
> two quotation marks, like this:
> 
> This should be "simple", but I can't do it.
> 
> I want to extract the word simple with a regular expression.

if /"([^"]*)/ =~ 'This should be "simple", but I can\'t do it.'
	puts $1
end

I would recommend Mastering Regular Expressions by Jeff Friedl, from 
Oreily.


Hope that helps,

Walt




*****************************************************
Walter Szewelanczyk
IS Director
M.W. Sewall & CO.        email : walter / mwsewall.com     
259 Front St.            Phone : (207) 442-7994 x 128
Bath, ME 04530           Fax   : (207) 443-6284
*****************************************************