#!/usr/bin/perl use strict; my @record = ( "662-5555", "+1 102 892-1314" ); for (@record) { print if /(^\d{3}-\d{4}$)/; }
In reply to Re: pull single value
by bichonfrise74
in thread pull single value
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |