I am combining all my javascriupt into one neat file in order to lower http requests! Im stuck removing the comments /* comments */ and // comments
Using regular expressions isn't the most efficient way of removing Javascript comments. You need a string parser and minifier. See http://razorsharpcode.blogspot.com/2010/02/lightweight-javascript-and-css.html
If you insist on regex patterns, think about how you would parse this simple code that contains no Javascript comments at all:
var regex=/(ftp|https?):\/\//; alert('hello, world'); return regex;
Notice the double slash before alert(). A stupid parser that uses regular expressions will treat valid Javascript code as comments!