-- Moviesdrives.com -- Pushpa-2-reloaded.2025.1... -
It sounds like you’re referencing a (common in file sharing or P2P groups).
import re pattern = r'^--\s moviesdrives.com\s --\s*Pushpa-2-RELOADED.\d{4}.\d+...' filename = "-- moviesdrives.com -- Pushpa-2-RELOADED.2025.1..." -- moviesdrives.com -- Pushpa-2-RELOADED.2025.1...
general_pattern = r'--\s*[\w\-\.]+\.com\s*--\s*[\w\-\.]+\.\d{4}\.\d+\.\.\.' Would you like this adapted for , Bash , or as a media center naming rule (e.g., Radarr, Plex)? It sounds like you’re referencing a (common in
if re.match(pattern, filename): print("Matched the solid feature pattern") else: print("No match") Plex)? if re.match(pattern
If you need a (e.g., for a script, regex, file parser, or torrent indexing logic) that matches the pattern you gave, here’s one possible implementation in Python using a regular expression: