Is there better way to remove '\n' character from Serial Buffer while executing Serial.readBytesUntil() function?

I wouldn't use readBytesUntil at all.

Read the incoming bytes based on
Serial Input Basics - updated - Using Arduino / Introductory Tutorials - Arduino Forum

if you want to sanitize the incoming data, you could check for isPrintable

isPrintable() - Arduino Reference