Regex pattern matching

Hello everyone, can someone please help me write a regular expression to validate the following pattern 50101-AGYW-M001-001? the first code is five digits and AGYW remains the same throughout. Thanks

Hye @amuramira. I think your post is not correct, do you wanna review / delete it?

Cheers.