MQTT Topic edit

Hey,
I got this value from my topic: “power/total-active-energy-L1” in mqtt from my counter:
“total-active-energy-L1:5147.17”
My question:
How do I remove the text from the value so that I only have “5147.17” instead of “total-active-energy-L1:5147.17”.