Regular expressions in TypeScript

Let's make a variable that contains regular expression:

typescriptlet reg: RegExp;

Let's write a regular expression into it:

typescriptlet reg: RegExp = /.+?/;

Or we can use an alternative way to specify a regular expression:

typescriptlet reg: RegExp = new RegExp('.+?');
Задание 1

Create a variable that will contain the regular expression.