PageSourceSearch

https://www.learning-styles-online.com/include/validate.js

js learning-styles-online.com collected 2026-10-02 05:57:29 UTC 744 bytes, 36 lines download raw bytes

1<!-- // Begin
2function emailcheck(emailStr) {
3  // checks if the e-mail address is valid
4  var emailReg = "^[\\w-_\.]*[\\w-_\.]\@[\\w]\.+[\\w]+[\\w]$";
5  var regex = new RegExp(emailReg);
6  if (!regex.test(emailStr)) {
7    //alert("Your email address seems incorrect.  Please try again (check the '@' and '.'s in the email address)");
8    return false;
9  }
10  return true;
11}
12
13
14function numcheck(numstr) { 
15
16  var digits = "0123456789";
17
18  if (numstr == "")
19  {
20    return false;
21  }
22  for (var i = 0; i < numstr.length; i++)
23  {
24    temp = numstr.substring(i, i+1)
25
26    if (digits.indexOf(temp) == -1 && 
27     numstr != "")
28    {
29      return false;
30    }
31  }
32  return true;
33
34} 
35
36//  End email validation--->

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.