Regex Examples quantifiers


Any line with two - -es with anything in between.


Regex: /-.*-/
Input: "ab"
Input: "ab - cde"
Input: "ab - qqqrq -"
Input: "ab -- cde"
Input: "--"