Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Plain Text by jl ( 15 years ago )
gsub(/\A1?([\d]{3})([\d]{7})\Z/, '\1 \2')

 

Revise this Paste

Your Name: Code Language: