You need now to add the new regular expression function to the created project, and then deploy the function to the SQl server. To do that:
In the project list in the Solution Explorer panel, expand the node of the project you created and right-click the Test Scripts node.
From the contextual menu, select Add > New Item....
The [Add New Item] dialog box is displayed.