Hi, I need to add a string "TC" at the end of each line between /* and */ while the number of lines between each /* ... */ pair may vary. Please help. Thanks.
Here is an example: I want to convert from:
/* Comment1
Comment1 cont */
Var1
/* Comment2 */ /* Comment3 */
Var2
/* Comment4
Comment5
Comment6
Comment7 */
Var3
...
to
/* Comment1 TC
Comment1 cont */ TC
Var1
/* Comment2 */ /* Comment3 */ TC
Var2
/* Comment4 TC
Comment5 TC
Comment6 TC
Comment7 */ TC
Var3
...
Here is an example: I want to convert from:
/* Comment1
Comment1 cont */
Var1
/* Comment2 */ /* Comment3 */
Var2
/* Comment4
Comment5
Comment6
Comment7 */
Var3
...
to
/* Comment1 TC
Comment1 cont */ TC
Var1
/* Comment2 */ /* Comment3 */ TC
Var2
/* Comment4 TC
Comment5 TC
Comment6 TC
Comment7 */ TC
Var3
...