in reply to Re: Reg Ex with quotes
in thread Reg Ex with quotes

/"([^"]*)"/
is probably even better, unless you really do want the quotes captured too. The value of the capture will be available in $1.

Replies are listed 'Best First'.
Re^3: Reg Ex with quotes
by GrandFather (Saint) on Jan 31, 2006 at 00:43 UTC

    That is what I would do, but doesn't match the inferred intent of OP's code. (Mind you, my version doesn't do the checking that the original code did either. :) )


    DWIM is Perl's answer to Gödel