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
Category Archives: regex
regex: backreferences
ShareBackreferences Perhaps the most powerful element of the regular expression syntax, backreferences allow you to load the results of a matched pattern into a buffer and then reuse it later in the expression. In a previous example, we used two … 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
regex
ShareJust wanted to share regex reference site. You can check it here http://www.grymoire.com/Unix/Regular.html for more details. What is a Regular Expression? A regular expression is a set of characters that specify a pattern. The term “regular” has nothing to do … Continue reading