Hi, I am trying to extract xml comments from my c code. Actvally i added some xml comments to my c code. Now I need to extract xml comments as it is by using perl.
. c code .... .......... /*xml comments*/ ......... .........ccode </code>I need to extract only xml comments he above code not entire c code.As show in the above code i just posted small c code before and after xml comments, more number of c code lines is there in my code like same as above c code.but can any one help me how to extract xml comments as it is as shown in the above.I tried to extract xml comments using perl regexp but i am unable to extract xml comments. can any one help me. thanks in advance. sorry for deleting code.
In reply to extract comments from source code. by veerubiji
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |