Sephr


Member since 01/16/2009

Name: Elijah Grey

Website: http://eligrey.com/

1 snippets

1267 profile views

3 Comment(s) Posted

View their favorites

their Tags


Profile

Achievement

first submission:submitting first snipplet

Sephr's Recent Regular Expression Snippets



« Prev 1 Next »
Use this to extract an HTML5 origin from a URI. $1 is the origin. The square brackets are there to support IPv6 addresses. Example: var html5OriginRegex = /^([\w-]+:\/*\[?[\w\.:-]+\]?(?::\d+)?).*/; "http://www.google.com:42/foo/bar/...
0 444 posted 14 years ago by Sephr
« Prev 1 Next »