Regex string split with multiple conditions

(Javascript older version of Node.js)

I have multiple lines like these

var name1;

CONST name2

Let name3;

My desired outputs are

name1

name2

name3

So I am trying codes like this.

/[^;]*/

But I need help because I have multiple patterns. Some may have semicolons/space/null after the variable names, I need to omit those.