in reply to Re: Reg. Expression - Replace " from string
in thread Reg. Expression - Replace " from string
and to do both requested operations at once:
$str =~ s/^&|&$//g;
but that has just given him the fish and if this is homework then he gets the kudos (possibly) without learning anything.
|
|---|