Robot.2.0.-2018-.hindi.1080p.web-dl.vegamovies....

import re filename = "Robot.2.0.-2018-.Hindi.1080p.WEB-DL.Vegamovies.mkv" name_match = re.search(r'(.+?).?-?(\d{4})', filename) movie_name = name_match.group(1).replace('.', ' ') year = name_match.group(2)

Robot 2.0 (2018) [Hindi] 1080p WEB-DL Vegamovies.mkv If instead you meant (e.g., from Python, FFmpeg, or metadata), here's a quick example using Python to parse the filename into a dictionary: Robot.2.0.-2018-.Hindi.1080p.WEB-DL.Vegamovies....

print(f"Movie: {movie_name.strip()}") print(f"Year: {year}") print(f"Quality: 1080p") print(f"Source: WEB-DL") print(f"Language: Hindi") import re filename = "Robot

Robot 2.0 (2018) [Hindi] 1080p WEB-DL.mkv Or if you want to keep the source info (Vegamovies): filename) movie_name = name_match.group(1).replace('.'

Movie: Robot 2.0 Year: 2018 Quality: 1080p Source: WEB-DL Language: Hindi