Here is my solution:
Instead of for each line, I use If Matches Regex and look for a phone number lines. This allows for the numbers to be mixed with actual text (although it makes the assumption that each phone number is on its own line). If the text is purely phone numbers, then For Each Line will suffice.
Next, there are four Regex Find and Replace actions to clean up the formatting.
First, I look for (,),- and whitespace (tabs + spaces) and replace them with nothing (effectively deleting them)
Second, I strip off any 1 or +1 prefix to standardize all the phone numbers (you'll need to make some tweaks if this list includes international numbers)
Third, once I've stripped off any stray 1 or +1 prefix, I can then put that prefix in all the lines. This approach is simpler than trying to keep existing +1, 1 prefix while changing the others.
Finally, I add a space after the 4th digit. The replace is `$0 ` (with a space after $0).
That should give you the phone numbers in your preferred format.