如何检查字符串是否包含从a到z的所有字符? [关闭]

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.

https://regex101.com/r/dL7oF8/3

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]+$
  • It will work as a regular expression
  • if any problem with answer please comment me