grep pattern for NOT capturing a zip code at the first of a line?

2012-07-08 Thread Mosby
I have data that looks similar to this... 75092 Sherman 1811 Whao 75090 Sherman . at. 8am 3244 Dripping Springs Rd 903-647-3292 veryt 75092 Sherman 3204 M 75409 Anna Tooehold item There are tabs after the zip codes. I want to skip the zip codes and only find the lines that do not begin with a

Re: grep pattern for NOT capturing a zip code at the first of a line?

2012-07-08 Thread David Kelly
On Jul 8, 2012, at 6:59 AM, Mosby wrote: > I have data that looks similar to this... > > 75092 Sherman 1811 Whao > 75090 Sherman . at. 8am > 3244 Dripping Springs Rd > 903-647-3292 veryt > 75092 Sherman 3204 M > 75409 AnnaTooehold item > > There are tabs after the zip codes. > > I want to

Re: grep pattern for NOT capturing a zip code at the first of a line?

2012-07-08 Thread Patrick Woolsey
At 04:59 -0700 07/08/2012, Mosby wrote: >I have data that looks similar to this... > [... example elided ...] > >There are tabs after the zip codes. > >I want to skip the zip codes and only find the lines that do not begin >with a zip code. Once those lines are located I want to remove the return

Re: grep pattern for NOT capturing a zip code at the first of a line?

2012-07-08 Thread Christopher Stone
On Jul 08, 2012, at 06:59, Mosby wrote: > I have data that looks similar to this... > ... > I want to skip the zip codes and only find the lines that do not begin with a > zip code... __ Hey There, There are a few ways to tackle

Re: grep pattern for NOT capturing a zip code at the first of a line?

2012-07-09 Thread Roland Küffner
Am 08.07.2012 um 8, 13:59 schrieb Mosby: > I have data that looks similar to this... > > 75092 Sherman 1811 Whao > 75090 Sherman . at. 8am > 3244 Dripping Springs Rd > 903-647-3292 veryt > 75092 Sherman 3204 M > 75409 AnnaTooehold item > > There are tabs after the zip codes. > > I want to