Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript" language="javascript">
- function validateIGN(ign) {
- var validign = /^[a-zA-Z0-9]{1,30}$/;
- if (!validign.test(ign)) {
- alert("invalid ign!");
- }
- else {
- alert("valid ign!")
- }
- }
- </script>
Add Comment
Please, Sign In to add comment