Is it possible to format the input from the serial monitor?

Yes, it works with the string shown above perfectly! I can also do it wth the response from OpenAI API. I just can't figure out how to format the input from the serial monitor.