Topic: How can I disallow certain characters from being registered?
(preg_match('#\[b\]|\[/b\]|\[u\]|\[/u\]|\[i\]|\[/i\]|\[color|\[/color\]|\[quote\]|\[quote=|\[/quote\]|\[code\]|\[/code\]|\[img\]|\[/img\]|\[url|\[/url\]|\[email|\[/email\]#i', $username))
How do I edit that line to include both "." and "%"
I don't want to allow dots and percentage signs to be allowed in usernames.
thanks