in reply to Re^3: Regex Help
in thread Regex Help

Or use perl itself for a rudimentary dump of the stream:
echo "ATDT123456 \r\nBUSY" | perl -e 'local $/=undef;@chars=split //, +<STDIN>; for(@chars) {print $_ . " " . ord($_) . "\n"; }'