Search
-
Categories
Tags
5.2 best php editor css debian error finger eleven google htaccess javascript javascript function life lifehouse linux love Lyrics mod_rewrite mysql mysql error mysql function nickelback nusphere nusphere phped nusphere phped 5.2 palawan palawan vacation paralyzer pdflib php4 pdflib php5 photoshop php phped php editor php error php function plugin regex regular expression regular expressions vacation vhcs video windows vista wordpress wordpress error wow
Monthly Archives: March 2009
Javascript regexp usage
ShareI found this reference very helpful because I tend to forget the difference between match, test, search and so on. Description Example RegExp.exec(string) Applies the RegExp to the given string, and returns the match information. var match = /s(amp)le/i.exec(“Sample text”) … Continue reading
validate http:// or https:// using regex
Share You can validate http:// or https:// using the methods below: $link = “http://site.com”;Â or $link = “https://site.com”; Example: My values would be either of the two, with or without “s”. Method 1: echo preg_match(“^(http(s?))://^”, $link); I prefer this method … Continue reading
nofollow links
ShareI just heard about this new attribute added on links but really don’t have any idea about it. Thanks goodness to Dave Taylor that explains what is nofollow and it’s advantage on SEO. By adding this attribute rel on your … Continue reading
You are invited to my party. I would appreciate if you could come.
Share Uploaded on authorSTREAM by phildavi
Posted in anything under the moonlight
Leave a comment