This script remembers what it finds. But it also uses the split() method to remove all the characters specified (the separator characters) and keep the rest. Type a phone number into the text box. You don't have to use the "3, 3, and 4 character" format this time. Type any groups of numbers separated by any non-digit characters, and the script will extract the numbers and display them in alert box.