Hi, Can someone please help me regarding on what im trying to do, Can i restrict free text data field in multiline of text to accept a alphanumerical only?

Hi, Can someone please help me regarding on what im trying to do, Can i restrict free text data field in multiline of text to accept a alphanumerical only?
Hi , @marccyrel041
This is not possible in a Power Apps text field. You can just convert to two types (Text or Number):
As a workaround you can check whether only alphanumerical were input into the text box using this code
IsMatch(TextInput.Text, "[a-zA-Z0-9]+" )
More details on the ISMATCH function here:
IsMatch, Match, and MatchAll functions - Power Platform | Microsoft Learn
If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance!
Best Regards,
Yueyun Zhang