@SakeriyeMohamud-4520 Thank you for reaching out to us.
I have tested your above regex \w{8}-\w{4}-\w{4}-\w{4}-\w{12} with the one of guid provided in the question, however it works but if i add any extra character to the guid, it doesnt give desired results as expected.
Then researched and found the following regex ^[a-f0-9]{8}-([a-f0-9]{4}-){3}[a-f0-9]{12}$ and tested with the one of the guid in the question, it works as expected. i have tested by adding extra character to one of the set in the guid to verify the results, below is the screenshot for your reference.
If you want to use the same regex \w{8}-\w{4}-\w{4}-\w{4}-\w{12} with the guid mentioned in the question, i need to check how this regex ( give me day's time ) if it can be tweaked to meet the desired results correctly.
Let me know if you have any questions.
Please remember to "Accept Answer" if answer/reply helped, so that others in the community facing similar issues can easily find the solution.