Some useful and common regular expressions (regex)
Regex for URI
var uri_re = /^(?:(?:[^:\/?#]+):)?(?:\/\/(?:[^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/;
Regex for URI
var uri_re = /^(?:(?:[^:\/?#]+):)?(?:\/\/(?:[^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/;
This entry was posted on Saturday, October 25th, 2008 at 6:25 am and is filed under Uncategorized, software. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.