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.
From the Templates list, select Class and then in the Name field, enter a name to the user-defined function you want to add to the project, RegExMatch in this example.
The added function is listed under the created project node in the Solution Explorer panel to the right.
Click Add to validate your changes and close the dialog box.