refactored main
updated regex to parse subtitle instructions
add support for subtitle format
refactored regex to catch more wacky subtitle characters