I am getting style from backend. it has unwanted prefix with it. i would replace the same without the prefix. what would be the correct way?
style
here is what wh
It seems the prefix is hexadecimal, so this will do the job:
str.replace(/^[A-F0-9]+\s+/gm, '')