vishnu krishnan

vishnu krishnan

  • NA
  • 105
  • 253.2k

remove comments

Nov 6 2010 7:52 AM

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)