ESP-01 ESP8266WiFi module Connect to Arduino Mega

Kind off

Because you're receiving multiple characters from the other side, I suggest that you study Robin's Serial Input Basics - updated.