Regex: match shortest pattern between two possible delimiters [duplicate] [1] “truc/truc/plouf” “plouf” “truc/plouf”