How to create a comment block of //'s around text of different lengths
06:52 05 Nov 2019

Is there a way to create these blocks automatically around a text?

I am currently working in Visual Studio and Visual Studio Code projects.

/////////////////////////////////////////////////////////
///////////////////// Demo Text /////////////////////////
/////////////////////////////////////////////////////////

Due to varying text length, this can be really annoying.

javascript regex visual-studio-code vscode-snippets