in reply to Re^2: RegEX Doubt
in thread RegEX Doubt

yes i am capturing the fourth part and then checking if any match those keywords ; but i have like n if loops ..is there a better way to search /compare that

Replies are listed 'Best First'.
Re^4: RegEX Doubt
by Laurent_R (Canon) on Aug 20, 2014 at 17:43 UTC
    If you have a definite and limited number of possibilities, you might use a hash instead of a series of if ... elsif ... else conditions. Please provide some details for a more knowledgeable answer.