^(?=.*HC.*|.*RE.*|.*HX.*)(?=^\\d*(?:HC|RE|HX)\\d*$)(?=^22.*$)(?:[\\dHCREX]{13,14})$
https://www.regexplanet.com/share/index.html?share=yyyydxwt1yr