I have a .csv file and I’m only interested in rows with comma delimeted integers:
23,2,4,56,78,9,4,6
The number of comma delimited values in a row should be more than 5 (or whatever).
I’m doing this in perl.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This will only match properly formatted comma delimited numbers (100,000,000 for instance). It is still a terrible idea to have comma delimited numbers in a comma separated file, but I digress. That regex is the least likely to have problems in the context.