Invert colors in new paint is not gone.. just select the part where you want to invert colors and then right click on it.. select invert colors.. :D
TechD is a Technical blog to help everyone. You can find help related to Liferay, HTML, PHP, Java, Javascript over here.
Sunday, March 10, 2013
Wednesday, March 6, 2013
Check if Email is Valid using PHP
Hello Friends,
Sometimes when you need to check if email is valid or not in your code... just use this function..
function isValidEmail($email) {
return preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$/", $email);
}
Enjoy!!
Ravi Kumar Gupta aka D'Maverick
Sometimes when you need to check if email is valid or not in your code... just use this function..
function isValidEmail($email) {
return preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$/", $email);
}
Enjoy!!
Ravi Kumar Gupta aka D'Maverick
Subscribe to:
Posts (Atom)