in reply to Running out of Memory

Sounds like you need to tackle the problem slightly differently, as the process outlined is a bit wasteful in slurping whole pages just to extract minimum of data. surely a grep or similar setup would do, or reading the file a few lines at a time using a window/buffering technique.
btw phone numbers can be formatted in a myriad of ways. also, make sure you do the right thing with those phone numbers. just because they appear on a website page, doesn't automatically mean you can do unsolicited/bulk calling to these, and can get be illegal in some states/countries. but that's obviously just friendly advice beyond the scope of this forum.
the hardest line to type correctly is: stty erase ^H