79190242

Date: 2024-11-14 19:59:23
Score: 1
Natty:
Report link

It sounds like you're wanting to get returned to you everything that is not otherwise captured in a capture group. There is no regex functionality to do that.

What is the problem you're trying to solve? If you go and match

pattern = r"Date: (\d{4})-(\d{2})-(\d{2})"

then what are you going to do with the results?

leftovers = ["Date: ", "-", "-", ""]
Reasons:
  • RegEx Blacklisted phrase (1.5): solve?
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Andy Lester