import re

if features: print("Extracted Features:") for feature, value in features.items(): print(f"{feature.capitalize()}: {value}") else: print("Failed to extract features.")

def extract_features(file_name): # Regular expression to match the file name pattern pattern = r"(.*)\.(\d{4})\.(.*)\.(.*)\.(.*)\.(.*)\.(.*)\.(.*)" match = re.match(pattern, file_name)

def main(): file_name = "The.Silence.2019.720p.Hindi.Eng.Vegamovies.NL.mkv" features = extract_features(file_name)

if match: return { "title": match.group(1), "year": match.group(2), "resolution": match.group(3), "language1": match.group(4), "language2": match.group(5), "source": match.group(6), "country": match.group(7), "extension": match.group(8) } else: return None

WebRezPro logo

Any questions?

We would love to hear from you! Please let us know how we can help or if you would like to schedule a free, no-obligation demonstration. 

* By agreeing to accept SMS messaging from WebRezPro, you agree and acknowledge that WebRezPro may send text messages to your wireless phone number for any purpose. Message and data rates may apply. You will be able to opt-out by replying STOP. For more information, please refer to our Privacy Policy.