in reply to Re: Loops and comparisons
in thread Loops and comparisons

Hi :),
using || instead of && was a silly mistake.But using a regexp instead of a for loop helps, makes the code less cluttered.
Thanx:)