On Catalyst 9800 it is possible to solve this via Regex, so I think it is possible to create a Regex on NPS to solve this.
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.
Please, if this post was useful, leave your kudos and mark it as solved.