I have a little script that finds the line which contains a six digit number begining with 1 or greater.&nbsp; I know that $_ represents the line,&nbsp; however, I am having trouble figuring out how to save that number once it's found (without everything else in the line).<br> <br> #!/usr/bin/perl -w<br> <br> @ARGV = "/home/richard/test/out.txt";<br> while (&lt;&gt;) {<br> &nbsp;&nbsp;&nbsp; if ( /\b[123456789][0-9][0-9][0-9][0-9][0-9]\b/ ) {<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print "Found\n" . $_ . "\n";<br> &nbsp;&nbsp;&nbsp; }<br> }<br> <br> Any help would be greatly appreciated.<br> <br> Thanks,<br> <br> Richard<br> <BR><BR>A people that values its privileges above its principles soon loses both.<br> -Dwight D. Eisenhower.