79562025

Date: 2025-04-08 12:28:56
Score: 1
Natty:
Report link

My approach is get rid of the numbers between the two characters '.' and '+' first by replacing those numbers to _.

import re

input_string = "manual__2025-04-08T11:37:13.757109+00:00"
result = re.sub(r'\.(\d+)\+', r'_', input_string)
result = result.replace(':', '_').replace('+', '_')

print(result)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Continuous Improvement