removeNonAlphaNumericCharacters

Modified on Wed, 16 Aug 2023

Description

Remove non-alphanumeric characters (excluding letters and digits) from a string

Syntax

removeNonAlphaNumericCharacters(text)

Parameters

Input ParameterTypeDescription
textstringString to process

Return value

Type
string

Sample

ExampleResultDescription
removeNonAlphaNumericCharacters('Invoice Id. 1234')'InvoiceId1234'String with only alphanumeric characters (0-9, a-z, A-Z)
removeNonAlphaNumericCharacters('123.45')'12345'Remove '.'

To view all the String functions, click here.

See Also