79432293

Date: 2025-02-12 07:53:33
Score: 1
Natty:
Report link

Just replace ? with * to capture all characters.

import re

string = ":example1:q=dfgghp-yoirjl78/-"
print(string)

x = re.sub(r':q=.*','', string)
print(x)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: SevC_10