Added copyright
Changed regex for web url parsing