I'm trying 'port' a register page from php into c# and I'm currently facing this issue:
if(ereg("^[0-9a-zA-Z]{12,12}$",$_GET["password"])) $code = ''; {
}
if(ereg("^[0-9a-zA-Z]{13,13}$",$_GET["password"])) $code = ''; {
}
if(ereg("^[0-9a-zA-Z]{14,14}$",$_GET["password"])) $code = ''; {
}
I can't understand what does it checks in the regex and what's with the character in the variable $code ( I mean , what kind of character it is so I can add the same character in c#)