I have simple code look like this
function session(){
return 1; // this default value for session
}
I need regex or code to remove the comment // this is default value for session, And only remove this type of comment, which starts by a space or two or more, then //, then a newline after it.
All other types of comment and cases are ignored.