Re: keep only numeric character

"[email protected] [sed-users]" <[email protected]> 09 Feb 2016 13:50:20 -0800
Newsgroups gmane.editors.sed.user
Message-ID <[email protected]>
> Input.txt
> "Bill";"03 26 30 69 69";"BT"
 > "Steve";"03-26-30-69-69";"BT"
 
 > I would like to have (only line with 10 digits) - remove all 
 > field less or greater than 10 digits and all fields with not numeric

 > Output.txt
> "Bill";"03 26 30 69 69";"BT"
 > "Steve";"";"BT"
 
 Seems maybe a bit odd you keep "Bill" but blank out "Steve". I guess you consider "Steve" not "numeric" because of hyphens. On the other hand, both "Steve" and "Bill" seem to maybe have 0326306969. - Daniel
 



[Non-text portions of this message have been removed]