in reply to Re^2: Problem in extracting alphanumeric string from file
in thread Problem in extracting alphanumeric string from file

Sorry while testing I found one issue - if I increase the strings that gives me only first match. For tuesday this prints only TD20.2.7.8
MONDAY MD21.2.7.8 TUESDAY # Driver Code = TD20.2.7.8 TD20.2.7.8 TD20.2.7.7 TD20.2.7.9 WEDNESDAY # Driver Code = WD20.2.7.8 WD30.2.7.8 WD30.2.7.9 FRIDAY # Driver Code = FD20.2.7.8 FD40.2.7.8

Replies are listed 'Best First'.
Re^4: Problem in extracting alphanumeric string from file
by rahulme81 (Sexton) on Aug 19, 2015 at 10:20 UTC
    Achieved - condition changed to next if ! /^(\w*){4}(\.\d*){3}/;