Year: 2011 No updates fews months.
I was doing blog very rarely . Even the rare blog was not able to up to date Because i was frustrated my job location changed. Where i used to travel 55 km per day.
Way to String Build
Fastest way to Build string in JavaScript . Use native method join() instead of for loop. var arr = [‘item 1’, ‘item 2’, ‘item 3’, …]; var list = ‘ ‘ + arr.join(‘ ‘) + ‘ ‘;
Check Valid Email – Regular expression
Regular Expression Pattern : /[a-zA-Z0-9_-.+]+@[a-zA-Z0-9-]+.[a-zA-Z]+/ function is_valid_email($email) { if(preg_match(“/[a-zA-Z0-9_-.+]+@[a-zA-Z0-9-]+.[a-zA-Z]+/”, $email) > 0) return true; else return false; }
No updates fews months.
I was doing blog very rarely . Even the rare blog was not able to up to date Because i was frustrated my job location changed. Where i used to travel 55 km per day.
Way to String Build
Fastest way to Build string in JavaScript . Use native method join() instead of for loop. var arr = [‘item 1’, ‘item 2’, ‘item 3’, …]; var list = ‘ ‘ + arr.join(‘ ‘) + ‘ ‘;
Check Valid Email – Regular expression
Regular Expression Pattern : /[a-zA-Z0-9_-.+]+@[a-zA-Z0-9-]+.[a-zA-Z]+/ function is_valid_email($email) { if(preg_match(“/[a-zA-Z0-9_-.+]+@[a-zA-Z0-9-]+.[a-zA-Z]+/”, $email) > 0) return true; else return false; }