regex instead of string parsing to get the video hash