in reply to How to match and extract string after exact 3 digits [RESOLVED]

/\s+(\d{3})\s+/

Your first element does not have leading whitespace.

Maybe use

/(?:^|\s+)(\d{3})\s+/

Replies are listed 'Best First'.
Re^2: How to much and extract string after exact 3 digits
by thanos1983 (Parson) on Feb 09, 2017 at 20:34 UTC

    Hello Corion,

    You are absolutely right, it worked like a charm.

    Thank you for your time and effort, reading and replying to my question.

    Seeking for Perl wisdom...on the process of learning...not there...yet!