Hi Hendrik.VE,
That was really helpful and I'm nearly there with your help, the query I have so far is
SELECT Name,(SELECT REPLACE(REPLACE(SUBSTRING(dbo.[DB].Name, CHARINDEX('(CVE-', dbo.[DB].Name), CHARINDEX(')', dbo.[DB].Name)), '(', ''), ')', '') AS Expr1) AS CVE
FROM dbo.[DB]
The only issue I am getting a few records which have text before as below, which I cant seem to remove the text before?
OLE Automation Underflow Vulnerability CVE-2011-0658
Null Session Cookie Crash Vulnerability CVE 2011-2012
CVE-2021-40730
CVE-2021-40493
CVE-2021-40486
Cheers
A