Gossamer Forum
Home : General : Perl Programming :

another regex question

Quote Reply
another regex question
i am reading a file and found a line i want that is stored in $line:

$db_name = "Bidders - Private";

i want to get rid of everything except what's inside the quotes: Bidders - Private. that is i want to remove $db_name = " and the "; at end of line. i can't figure out how to do it!

thanks
Subject Author Views Date
Thread another regex question delicia 7629 Feb 14, 2012, 7:16 AM
Thread Re: [delicia] another regex question
Andy 7493 Feb 14, 2012, 9:01 AM
Post Post deleted by delicia
delicia 7461 Feb 14, 2012, 10:55 AM
Thread Re: [Andy] another regex question
delicia 7479 Feb 14, 2012, 11:04 AM
Thread Re: [delicia] another regex question
Andy 7514 Feb 14, 2012, 2:04 PM
Post Re: [Andy] another regex question
delicia 7460 Feb 14, 2012, 2:34 PM