I would like to add a new line after a match. I know I can edit a file doing a perl -pi -e "s/(\d+)\s+\d+-\d\d\d\d)//g" filename which this would replace the phone number with something but can I add a newline after my phone number or how would I do this in a script? The file is huge.
here's part of the data I am looking at in my file:
N07Y O000000 1997000.00PSIN000.00P SI 01 (111) 111-11112005082200036424
here's part of the data I am looking at in my file:
N07Y O000000 1997000.00PSIN000.00P SI 01 (111) 111-11112005082200036424