I have a huge CSV list that needs to be broken up into smaller pieces (say, groups of 100 values each). How do I match 100 lines? The following does not work:
(^.*$){100}
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.
You don’t need
regexfor this, there should be other tools in your language, even if there is none, you can do simple string processing to get those lines.However this is the regular expression that should match 100 lines:
But you really shouldn’t use that, it’s just to show how to do such task if ever needed (it searches for non newlines
[^\n]+followed by a newline\nrepeated for{100}times).