function onlyAlpha onlyAlpha(text: string): string Returns a copy of the given string with all non-alpha characters removed, except for spaces. Letters are preserved regardless of case. Examples Example 1 onlyAlphanumeric(null); // "" onlyAlphanumeric("Hello, World!"); // "Hello World" onlyAlphanumeric("123@#Test"); // "123Test" Parameters text: string Return Type string