NF==2 && match($2,/^[0-9]{3}/){ print "(" substr($2,RSTART,RLENGTH) "}" substr($2,RSTART+RLENGTH)}
Danish 5555551212 3456782 Bulbul 5555551213 Kaloana 5555551214 Tina 6665551215 Cj Mayuri 6665551216
(555}5551212 (555}5551213 (555}5551214 (666}5551215 (666}5551216
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!