I am trying to display a string that I get from a tag. The displayed value is appearing like the picture included:
I am trying to remove the trailing characters using:
But encounter the error:
Scan Error: Illegal escape sequence “\x” (Line 1, Char 37)
Does anyone know how I can format this regex in an acceptable way/another way to remove these characters?