I have two asp scripts I downloaded that build custom objects (my name) that are used in string validation.

sample:
var telnr = /^\+?[0-9 ()-]+[0-9]$/
if (!telnr.test(tfld)) {


anyone know what these custom objects are called and any resources on how to build them or how they work?

Thanks