removeNonAlphanumeric function
PIComposer APIPIComposer API

removeNonAlphanumeric#

String removeNonAlphanumeric(String str)

Removes all non-alphanumeric characters from a string.

This function uses a regular expression to strip any character from str that is not an uppercase letter (A-Z), lowercase letter (a-z), or digit (0-9).