in reply to Perl match to cut off after second occurrence
I like thenaz's suggestion, it works, a good one liner. I didn't test yours happy.barney but thanks for offering another option.
I came up with a very crude alternative last night but its clear I was barking up the wrong tree because it took a lot more code. I could easily do the first or last occourance but those in between was really throwing me how to do with proper syntax.
Thanks again to you both,
|
|---|