1
Answer

remove comments

vishnu krishnan

vishnu krishnan

14y
1.8k
1

am loading  cpp program into richtextbox, if the program have comments
comments means

//sum = a + b ;

       OR
/*
sum = a + b ;
cout<< "answer" , sum ;
*/
so if the program have comments, before it will load into richtextbox i have to remove the comments area, that means  the program shouldn't read that area. any idea using regular expression
Answers (1)