Hello,

Please, help me to fix this regular expression to make it workable in JavaScript:
Code:
var r = /^((((ht|f)tp(s?))\://)|(/{1}))?((([a-zA-Z0-9_\-]{2,}\.)+[a-zA-Z]{2,})|((?:(?:25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)(?(\.?\d)\.)){4}))(:[a-zA-Z0-9]+)?(/[a-zA-Z0-9\-\._\?\,\'/\\\+&%\$#\=~]*)?$/;
In fact, here it works fine, but only if i choose .NET Regex Engine. When i'm using JavaScript one, it doesn't even run.

What have i tried is to screen this place "...//..." with "...\/\/...", but it doesn't help.

Thanks!