I am new to Perl programming. Need your help in searching and extracting only commented lines from a file. Below is an example:
This is line 1 /*This is line 2 This is line 3 This is line 4*/ This is line 5
I just want to search and extract only commented lines from above file.
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |