I thought this function was so cool, that i wanted to share it.
I have always written like a>='0'&&a<='9'&&a>='a'&&a<='z' in loops etc, but no
more. Basically add whatever you want to condition, and if you want point a to point b just separate them with a '-' sign.
Simply while(!isCharInside(x,"|a-zA-Z0-9.*/=|-|")){/*code*/}