Dear Nanzhu-wang,
Good day! Thank you for posting to Microsoft Community. We are happy to help you.
As per your description, it seems that you want only text half-width alphanumeric characters.
If my understanding is right, based on my search a lot I don't think Power Apps has a capability for such. As since our category focus on Office 365 products and to avoid any incorrect information from our side,, I would recommend you post your question in this Power App Community that’s a specific channel to handle related questions for a better help. Since it may have more experts in this area to help you.
The reason I ask you to post a new thread is that in Answers forum, we have limited resources and very little knowledge about Power Apps and in Power App Community , you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction.
Your understanding and patience will be highly appreciated. I hope that you are keeping safe and well!
Sincerely,
Waqas Muhammad