Smart regex to replace JS style comments with ReactJS comments


#1

I would like to replace existing comments in .jsx file in (Pycharm, Webstorm etc IDE or command line) from

 // Hello this is a comment

to

{/* Hello this is a comment */}

Or // as comments are ok in .jsx file? If so then I will just leave as it is.

Thanks