Check char range (2 Block)

by Ricardo Fernández Serrata

Version 1 (February 15, 2022)

Download (10 downloads)

Check if text is valid ASCII or if it has surrogate pairs. Helpful to protect against phishing URLs, because it allows you to make sure all chars are not "disguised".

If you're a flow developer, you can CP📋 the expressions used here, to perform input validation.

I used possessive quantifiers in the regex for better performance.

The issue with "Print" POSIX Char Class, is that it isn't 7b ASCII. The Java documentation is wrong. It returns `true` when the string contains \u00ff (a printable non-ASCII char)

3.0 average rating from 1 reviews

5 stars
0
4 stars
0
3 stars
1
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.