Hi,
My regex is: (.*?\\|)(.*?\\|)(.*?\\|)(.*?\\|)(.*?\\|)(.*?\\|)(?:.*?\\|)(.*?\\|)(.*?\\|)(?:.*?\\|)(.*)
so I have 9 matching groups.
How do I shorten this and reuse the (.*?\\|). I tried: (.*?\\|){6}(?:.*?\\|)(.*?\\|){2}(?:.*?\\|)(.*) but it doesn't give me the 9 matching groups.
Thanks,