http://www.perlmonks.org?node_id=910702


in reply to Extract Sub String

Actually you might want to take a look at Death to Dot Star! why you shouldn't use .* in regexps, not even with ?. Also, there is no " in your screen, so there is no need to match it. Also, " is not a special character inside a regex. As a general advice, you might want to read up the perlre manual again.

--
use signature;
signature(" So long\nRhonda");