johnirl has asked for the wisdom of the Perl Monks concerning the following question:
--,2.000000e+0,6.460000e+0,--,--,--
The commas are used as seperators. This is a result from a SQL statement. I want to find all results with the first and last three columns empty. The results will always have 6 columns. The second and third column will always take the same form i.e. 1.920000e+2
--,--,--,--,1.920000e+2,1.017000e+1 --,--,--,--,2.560000e+2,1.007000e+1 --,2.000000e+0,6.500000e+0,--,--,-- --,2.000000e+0,6.480000e+0,--,--,--
I need a regex that will match the last two but not the first two.
j o h n i r l .
Sum day soon I'Il lern how 2 spelI (nad tYpe)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Matching Stuff with Regex
by Abigail-II (Bishop) on Aug 19, 2002 at 13:12 UTC | |
|
Re: Matching Stuff with Regex
by talexb (Chancellor) on Aug 19, 2002 at 13:13 UTC | |
|
Re: Matching Stuff with Regex
by tommyw (Hermit) on Aug 19, 2002 at 13:10 UTC | |
|
Re: Matching Stuff with Regex
by hotshot (Prior) on Aug 19, 2002 at 13:17 UTC | |
|
Re: Matching Stuff with Regex
by Silicon Cactus (Scribe) on Aug 19, 2002 at 19:07 UTC | |
by johnirl (Monk) on Aug 20, 2002 at 07:42 UTC |