function IsMobileNumber(Number)
	if (string.match(Number,'+[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]$')~=nil) then
		return true
	else
		return false
	end
end
 
function IsPasswordFormat(Password)
	if (string.match(Password,'^[0-9][0-9][0-9][0-9][0-9][0-9]$')~=nil) then
		return true
	else
		return false
	end
end

print(IsPasswordFormat("011111"))

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: