http://www.perlmonks.org?node_id=1026473


in reply to Re: regex pattern match
in thread regex pattern match

Your question is not easy to understand. Would it be possible to provide:

Also, it seems, as your example grows more complex, you should be using Text::CSV, which allows you to first split your line properly along the commata, and then to split any entry along commata.