In SQL Server 2012, I have a column which has long text data. Somewhere within the text, there is some text of the format
{epa_file_num} = {138410-81}
If it exists, I want to extract out 138410-81
as a column value. In regular JS regex, I would use something like this { *epa_file_num *} *= *{ *\d*-?\d* *}
to match the column, and then maybe a capturing group to get the value.
But how can I get it in SQL Server 2012?
Thanks