Hi @phiafoundation,
Would you mind having a look at the post discussed previously. It should solve your issue:
As a backup please feel free to have a look at our support article Restricting Text Responses With Regular Expressions which provides a wide range of practical examples using regex.
Have a great day!