2👍
✅
Your group [0-9a-zA-Z]+
does not include hyphens, so TR-0000
does not match.
You can change it to [0-9a-zA-Z-]+
, or simplify it to [-\w]+
.
Source:stackexchange.com