in reply to Re: Regular expressions across multiple lines
in thread Regular expressions across multiple lines

On thinking about it, replace

tr/\r\n//d

with

tr/ACGT//cd

and keep exactly what you want.