This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ^([0-9a-zA-Z\._])+@([a-zA-Z0-9])+\.([0-9A-Za-z]){2,4}([\.a-zA-Z0-9]){0,3}+$ | |
// example : (jQuery) Javascript | |
function validateEmail(email){ | |
var pattren = new RegExp("^([0-9a-zA-Z\._])+@([a-zA-Z0-9])+\.([0-9A-Za-z]){2,4}([\.a-zA-Z0-9]){0,3}+$"); | |
if(pttren.test(email)){ | |
return true; | |
} else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function customDateString($return = false){ | |
$date = ""; | |
$dayName = date("l"); | |
$dayNumber = date('d'); | |
$monthName = date('F'); | |
$year = date("Y"); | |
$st = array(1,31); | |
$nd = array(2,22); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!Copy and Paste the Text into Notepad save Name.htm> | |
<html> | |
<head> | |
<title>Android Robot</title> | |
<style> | |
.android { | |
position: absolute; | |
left: 320px; | |
top: 230px; | |
} |