pattern = r'([a-z]+)(\d+)enjavhdtoday(\d14) min new' filename = "mimk054enjavhdtoday09012021015802 min new.mp4" match = re.search(pattern, filename) if match: code = match.group(1).upper() + "-" + match.group(2) timestamp = match.group(3) new_name = f"code - timestamp.mp4" print(new_name) # Output: MIMK-054 - 09012021015802.mp4
I’m missing context — that looks like a filename or log entry (mimk054enjavhdtoday09012021015802 min new). I’ll assume you want the full content or meaning of that file/entry; I’ll provide a best-effort breakdown and likely interpretations plus steps to retrieve full content. If this is wrong, tell me what it is (file type or where it’s from). mimk054enjavhdtoday09012021015802 min new
Strings generated in 2021, such as the one in the query, were likely used in: were likely used in:
Accountants Park, Plot No. 2374/a,
Thabo Mbeki Road, Lusaka.