Juq-450-en-javhd-today-04222024-javhd-today01-5... [better] -
This simple script splits the input string by the "-" character and then organizes the parts into a dictionary for easier access.
NEW-123-FR-VHD-TODAY-04232024-VHD-TODAY02-3 JUQ-450-EN-JAVHD-TODAY-04222024-JAVHD-TODAY01-5...
: This refers to the platform or source of the information, often used as a branding tag for high-definition (HD) media content. : This is a date stamp indicating April 22, 2024 JAVHD-TODAY01-5 This simple script splits the input string by
def parse_string_regex(input_str): pattern = r"(\d8)|([A-Z]+-\d+)|TODAY(\d*)" matches = re.findall(pattern, input_str) return matches input_str) return matches