Stuart Clark wrote:
> 
> Hi All,
> I'm having trouble with this regular expression
> I have data file with colon separated delimiters
> The data below has 6 colon delimiters
> I want to check to make sure that none of the lines of data has more or less
> than 6 colons in it (EG: Lets say David enters his phone number as
> 9876:4342)
> The rest of my file works ok, its just matching the 6 colons.
> 
> # File
> David:smith:21 lake drv::98764342::
> John:Jones:44 ratfink st:west mouseville:8432321::
> ##
> 


Just my opinion, but you really need to be able to control the input
to the database file.  If someone else is controlling how & what can
be written to a file and yet YOU are responsible to parse it, that
just plain sucks.  Sorta makes me wonder what else can be written
to the file and what the permissions might be set at.

No help here other than my last post on the csv file thread.

Bompa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to