print join(' ',@first_sentence) =~ s/\s*([.()])\s*/$1/gr; #### i am 2(but).how