I have a text file with this format:
('1', '2', '3', '4', '5');
('a', 'b', 'c', 'd', 'e');
etc…
I want from each line the third and the fourth entry in the ''
My Text file has 125k lines so it is something big.
Thank you
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.
will get you the third and fourth fields in \1 and \2 (assuming no commas will appear between quotes, that you wish not to be treated as delimiters, or anything like that).
When run on your example, replacing with
\1,\2, the end result is: