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

Output:

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

It looks like you're trying to name or organize a video file for the movie Robot 2.0 (2018, Hindi, 1080p WEB-DL from Vegamovies). 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")

If you're asking how to based on that file name (e.g., for a media player, Plex, Jellyfin, or a renaming script), here’s a clean, standard naming format: Output: Movie: Robot 2

Robot 2.0 (2018) [Hindi] 1080p WEB-DL.mkv Or if you want to keep the source info (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) for a media player

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: