Input is :
wyyga
qwertyuioplkjhgfdsazxcvbnm
ejuxggfsts
Output Should be:
NO
YES
NO
^(?=.*a)(?=.*b)(?=.*c)(?=.*d)(?=.*e)(?=.*f)(?=.*g)...and so on.....till (?=.*y)(?=.*z)[a-z]+$
You can try this.See demo.
You Try This
^(?=.*a)(?=.*b)(?=.*c)(?=.*d)(?=.*e)(?=.*f)(?=.*g)(?=.*h)(?=.*i)(?=.*j)(?=.*k)(?=.*l)(?=.*m)(?=.*n)(?=.*o)(?=.*p)(?=.*q)(?=.*r)(?=.*s)(?=.*t)(?=.*u)(?=.*v)(?=.*w)(?=.*x)(?=.*y)(?=.*z)[a-z]+$