in reply to Series of REGEX with OR

Change your second while to if.

Replies are listed 'Best First'.
Re^2: Series of REGEX with OR
by wrkrbeee (Scribe) on Apr 27, 2016 at 17:29 UTC
    Thank you "Not a number"!!!