79554397

Date: 2025-04-04 03:28:26
Score: 0.5
Natty:
Report link

this one will work it captures any alphabetical letter inside parentheses, remove it from the text, and eliminates any spaces after or before.

.\(([A-Z-a-z].*?)\)
 def extract_name(title):
          name = re.sub(r'.\(([A-Z-a-z].*?)\)', '', title)
           return name.strip()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user11595058