| javascript Programming Glossary: aaaaHow to use JavaScript regex over multiple lines? http://stackoverflow.com/questions/1979884/how-to-use-javascript-regex-over-multiple-lines  to use JavaScript regex over multiple lines  var ss pre aaaa nbbb nccc pre ddd var arr ss.match pre. pre gm alert arr null.. anyways. throw stones here So the solution is var ss pre aaaa nbbb nccc pre ddd var arr ss.match pre s S pre gm alert arr.. 
 How to parse a URL? http://stackoverflow.com/questions/6168260/how-to-parse-a-url  this one that suits my needs function get_domain_name aaaa http www.somesite.se blah sdgsdgsdgs aaaa http somesite.se blah.. get_domain_name aaaa http www.somesite.se blah sdgsdgsdgs aaaa http somesite.se blah sese domain_name_parts aaaa.match . ^.. aaaa http somesite.se blah sese domain_name_parts aaaa.match . ^ 1 .split '.' if domain_name_parts.length 3 domain_name_parts.. 
 |