I need to read and parse a file having at least one field of utf8 characters. The fields are separated with commas, but the regex does not seem to recognize the comma as separator. I do have the 'use utf8'. The utf8 comes in as actual character.
The input is of the format:
pd.1030505718, Прасковья Сергеева,400005W12ZMtLW4bVG1u8000 400005W12ZMtLW4bVG1vg000 400005W12ZMtLW4bVG1v8000 400003Th2ZItG14H3aKWJ000
and I am trying to parse using the following regex:
if (/(pd.\d+).(\X+ ).(\w+|\d+| )/) {
I am fairly new to perl and would appreciate any help,
Thanks for your help,