in reply to Re: Uninitialized value in substr commandin thread Uninitialized value in substr command
Laurent_R: I tested your code and got it working after fixing a typo in your regex.