I'm new to powershell and need some help. I want to use the replace function to remove all the comments from C++ source code. That is single and multiline comments:
/*
Comment here.
*/
// Comment here.
Can someone help me with the powershell regex for this?