#!/usr/bin/perl # http://perlmonks.org/?node_id=1185969 use strict; use warnings; my $sentto = 'Fred Flintstone (US) (fredf@gmail.com)'; $sentto =~ m/.+\K\(.*/; print "First: $`\nSecond: $&\n"
In reply to Re: Need regexp to pick off second parenthetical item
by tybalt89
in thread Need regexp to pick off second parenthetical item
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |