Hey AGOL1 SMG,
Have you seen this resource: Formulas—Survey123 for ArcGIS | Documentation
It covers off on a lot of information about regex with examples. If you need more help you can post your excel template and I can take a look.
If this answer has helpful please mark it as helpful. If this answer solved your question please mark it as the answer to help others who have the same question.