Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I've come up with the solution that is better to read the file into a string and proceed as a whole. I've tried /\/\/*+(\w.+)\/\/*+/s and some others but it doesn't even come close to what I need. Any suggestions or ideas are more than welcome! Thank you.// useless comment Some Code //********************************************************** // //I need that text // And that also // //********************************************************** Some Code // useless comment
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex needed :<
by Athanasius (Archbishop) on Jan 22, 2015 at 15:29 UTC | |
by trippledubs (Deacon) on Jan 22, 2015 at 16:11 UTC | |
by Discipulus (Canon) on Jan 23, 2015 at 08:44 UTC | |
|
Re: Regex needed :<
by trippledubs (Deacon) on Jan 22, 2015 at 15:26 UTC | |
|
Re: Regex needed :<
by kennethk (Abbot) on Jan 22, 2015 at 16:08 UTC |