Skip to content

Instantly share code, notes, and snippets.

View iamtonysoft's full-sized avatar
🛠️
Part of the journey is the end

Anthony Cortez iamtonysoft

🛠️
Part of the journey is the end
View GitHub Profile
//mobile number
let mobileREGEX = /^(09|\+639)\d{9}$/;
let result = mobileREGEX.test($('#mobileNumber').val());
if (result === true) {
return true;
} else {
return false;
}
@iamtonysoft
iamtonysoft / .gitignore
Created May 5, 2020 01:59 — forked from kmorcinek/.gitignore
Example .gitignore file I use for C# projects
# The following command works for downloading when using Git for Windows:
# curl -LOf http://gist.githubusercontent.com/kmorcinek/2710267/raw/.gitignore
#
# Download this file using PowerShell v3 under Windows with the following comand:
# Invoke-WebRequest https://gist.githubusercontent.com/kmorcinek/2710267/raw/ -OutFile .gitignore
#
# or wget:
# wget --no-check-certificate http://gist.githubusercontent.com/kmorcinek/2710267/raw/.gitignore
# User-specific files