Is the provided string always in the same format? This code will work if there is nothing else after the string, and that it contains a double space between the Name and month.
DECLARE @DateString VARCHAR(50) = 'Mouse,Mickey T Jul 9, 2020 9:24 am EDT:'
DECLARE @DateExtract VARCHAR(50) = SUBSTRING(@DateString, CHARINDEX(' ', @DateString) + 1, --Starting Point: Find the double space
LEN(@DateString) - CHARINDEX(' ', @DateString) - 5) --End Point: How many characters to extract? Total Length - Starting Point - ' EDT:'
--Extraction Checking Script
SELECT @DateString AS InputString,
CHARINDEX(' ', @DateString) + 1 AS [StartPoint], --Starting Point: Find the double space
LEN(@DateString) - CHARINDEX(' ', @DateString) - 5 AS [EndPoint], --End Point: How many characters to extract? Total Length - Starting Point - 5 ( to cater for the timezone: ' EDT:')
@DateExtract AS ExtractedValue
-- Output Values
SELECT CONVERT(DATE, @DateExtract), CONVERT(DATETIME, @DateExtract)
EDIT:
This version assumes the last colon could be mid string and therefore just been added at the beginning of a note. Therefore updated the code to find where the second colon appears in the text string.
DECLARE @DateString VARCHAR(50) = 'Mouse,Mickey T Jul 09, 2020 09:24 am EDT: dasdasda'
DECLARE @DateExtract VARCHAR(50) = SUBSTRING(@DateString, --
CHARINDEX(' ', @DateString) + 1, --Starting Point: Find the double space
CHARINDEX(':', @DateString, CHARINDEX(':', @DateString) + 1) - CHARINDEX(' ', @DateString) - 4 --End Point: How many characters to extract? Find the character position of the second colon (:) minus the character position of the double space minus the 4 characters for ' EDT'
)
--Extraction Checking Script
SELECT @DateString AS InputString,
CHARINDEX(' ', @DateString) + 1 AS [StartPoint], --Starting Point: Find the double space
CHARINDEX(':', @DateString) AS [Colon], --Find the end point of the name/date entry significed by the location of the colon.
CHARINDEX(':', @DateString, CHARINDEX(':', @DateString) + 1) - CHARINDEX(' ', @DateString) - 4 AS [EndPoint], --End Point: How many characters to extract? Find the character position of the second colon (:) minus the character position of the double space minus the 4 characters for ' EDT'
@DateExtract AS ExtractedValue
-- Output Values
SELECT CONVERT(DATE, @DateExtract), CONVERT(DATETIME, @DateExtract)