This is a sample text: \\1f\\1e\\1d\\020028. I cannot modify the input text, I am reading long string of texts from a file.
\\1f\\1e\\1d\\020028
I wan
Try adding a . at the end, like:
\\[a-fA-F0-9].