What is the block method of doing User Name check and mobile number check
to verify not a username, instead of replacing all charaters in a name like !@#$%^&*()_+{} || and so on.
Also for zip code I need the fixed lenght length of the zip code to 6 not other character will be entered if length reached to 6
I used these bloks to fixed the max length on TextChanged Event :
I am also replacing . and -
signs it is erroring on that also
TIMAI2
September 23, 2024, 8:29am
2
Probably easier to use regex. You can do this with an extension (there are several) or you can use a webviewer/webviewstring and run javascript regex commands against it.
As you can probably see you have created an infinite loop with your AfterTextChanged event.
Share me link of regex extensions.
I found 3 which one is the best for my query?
I checkout all of the how they will help me they are just matching tools only, how to replace with those extensions.
I found this best :
1-Introduction
The Xreg extension only contains two methods but covers 95% of Java functionality on regular expression.
What does it do more than the other two extensions that exist? It works for matches, capture groups, and any sort of replacement in string! See the following post:
[Regular Expression ]
Both methods are designed simple enough to be integrated into App Inventor as on-chain blocks. See the same integration in AutoIt:
https://www.autoitscript.com/autoit3/docs/functions/StringR…
but don't know how it will help me.