use warnings; use strict; while () { s/[()]//g; print; } __DATA__ PP: (899040) Jane Smith #### PP: 899040 Jane Smith #### tr/()//d;