I am trying to create a regex that matches any of the following values:
- TR3456789
- ME3456789
- 123456789
Rule: Any line in which the first two characters are "ME", "TR" or 2 numbers, and the last 7 characters are numbers.
(\bME\b|\bTR\b|[0-9]{2})[0-9]{7}
I cannot make my regular expression match all parameters. Any regular expression gurus that can help me?
source
share