I have this kind of comments (a few examples):
//======================================================================== // some text some text some text some text some text some text some text
//======================================================================== // some text some text some text some text some text some text some text some text // some text some text // (..)
I want to replace it with comment of this style:
/*****************************************************************************\
Description:
some text some text
some text some text some text
\*****************************************************************************/
So I need regular expression for this. I managed to make this regex:
//=+\r//(.+)+
It matches the comment in group, but only one line(example 1). How to make it work with many lines comments(like example 2)?
Thanks for help