i tried playing arround with some regex but if i make em too flexible they dont filter enough..
guess i'll have to write my own func for it
thinking about just going char by char and checking it for bad chars
my first idea was [a-z0-9]{4,14} , works fine until you put anywhere in your string a char that is minimum 4 with no spaces or illegal chars
gonna see if i can anchor it down if that helps ..otherwise i'll get going on a custom function..
@drag: that looks fine but i had the idea of -why check for bad chars where you could be missing some- and rather go for the -check if the chars are valid- approach
so instead of looking for " ' \ etc.. just check if its 0-9 and A-Z
edit : not sure but think the anchoring fixed it allready .. ^[a-z0-9]{4,14}$ should do the trick..