- *
Regex match 0 or more (the * quantifier)
Any line with two - -es with anything in between.
Regex: r'-.*-' Input: "ab" Input: "ab - cde" Input: "ab - qqqrq -" Input: "ab -- cde" Input: "--"
Any line with two - -es with anything in between.
Regex: r'-.*-' Input: "ab" Input: "ab - cde" Input: "ab - qqqrq -" Input: "ab -- cde" Input: "--"