I'm trying to create a regex that will work as the following pattern:
tariff_0 - false
; tariff - false
tariff_0_0 - true
; tariff_100_50 - true
I've read that we can trigger digits with [0-9]+
expression, but unfortunately, it is not working in my case.
Here is a link to my RegEx: RegEx
And my Regex: /tariff_[0-9]+_[0-9]+/