Match two comments and the content between them, how to write the rule?

/*start*/
import "aaa";
/*end*/

let a={
    b: c
    /*start*/
    d: e
    /*end*/
}

now you want to match all the content from / * start*/ to / * end*/ , and replace it with ",
, that is, all that"s left in the above code is:

.
let a={
    b: c
}

how to write the rule? there are spaces and carriage returns in the main.


/\/\*start\*\/[\s\S]*?\/\*end\*\//g

/\ /\ * start\ *\ / (. |\ n) *?\ /\ * end\ * / g

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9886f-16e8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9886f-16e8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?