I am trying to use Regex to copy comments that are in the below format and copying them to a new file. But the multiple Regex expressions, I have tried have not worked.
/*
##multiline comment example
line 2
line 3
*/
Regexs tested.
//.|\/*[\s\S]?*\/
\/*[\s\S]?\\/
I did get this regex \/* to match the starting / . But I cannot get the entire thing copied. I actually do not want the / & */ but I can remove them if I need to later.
What format of Regex are you using? I have tried a couple of different Regex generators.
I am trying to use Regex to copy comments that are in the below format and copying them to a new file. But the multiple Regex expressions, I have tried have not worked.
Regexs tested. //.|\/*[\s\S]?*\/ \/*[\s\S]?\\/
I did get this regex \/* to match the starting / . But I cannot get the entire thing copied. I actually do not want the / & */ but I can remove them if I need to later.
What format of Regex are you using? I have tried a couple of different Regex generators.