Matching file name with space in it

OK, I'm sure this has been asked and answered before but I can not find it.
Trying to remove any characters after a Season and Episode designation for some tv shows. To do so, I am using "Name" "Matches" and set up the some 'Custom Text' as follows:
"•Show Name" = … (anything)
"•Season" = 11 (two single digits)
"•Episode" = 11 (two single digits)
"•Remainder" = … (anything)
The intent is to rename the file without the "•Remainder" part. To do so, I look for the Series and Episode numbers and segregate anything after that.
I put them together as *Show Name+S+•Season+E+•Episode+•Remainder (note I don't actually use the '+', I am just using them to show the different 'parts')
I am trying to recognize something like "S01E05" and then strip off the remainder. This works fine as long as there is not a space between the Season number (01 in the example) and the letter 'E'.
So "S01E05" is matched but "S01 E05" is not.
Prior to realizing that I had files that had a space between the Season and Episode, I was using a custom text match of "S11E11" (i.e. this is the letter 'S' followed by two of the hazel single digit placeholders then the letter 'E' followed but two more single digit placeholders).
I tried to add an 'if any' second match but 'I can not figure out how to get the rule to also match if there is a space between them.
So, I can get "24 (Legacy) - S01E01 - 12.00 Noon – 1.00 PM XYZ.mkv" to be renamed as "24 (Legacy) - S01E01.mkv" as desired
But "24 (Legacy) - S01 E01 - 12.00 Noon – 1.00 PM XYZ.mkv" will not match (space between S01 and E01)
Any insight would be appreciated.
Trying to remove any characters after a Season and Episode designation for some tv shows. To do so, I am using "Name" "Matches" and set up the some 'Custom Text' as follows:
"•Show Name" = … (anything)
"•Season" = 11 (two single digits)
"•Episode" = 11 (two single digits)
"•Remainder" = … (anything)
The intent is to rename the file without the "•Remainder" part. To do so, I look for the Series and Episode numbers and segregate anything after that.
I put them together as *Show Name+S+•Season+E+•Episode+•Remainder (note I don't actually use the '+', I am just using them to show the different 'parts')
I am trying to recognize something like "S01E05" and then strip off the remainder. This works fine as long as there is not a space between the Season number (01 in the example) and the letter 'E'.
So "S01E05" is matched but "S01 E05" is not.
Prior to realizing that I had files that had a space between the Season and Episode, I was using a custom text match of "S11E11" (i.e. this is the letter 'S' followed by two of the hazel single digit placeholders then the letter 'E' followed but two more single digit placeholders).
I tried to add an 'if any' second match but 'I can not figure out how to get the rule to also match if there is a space between them.
So, I can get "24 (Legacy) - S01E01 - 12.00 Noon – 1.00 PM XYZ.mkv" to be renamed as "24 (Legacy) - S01E01.mkv" as desired
But "24 (Legacy) - S01 E01 - 12.00 Noon – 1.00 PM XYZ.mkv" will not match (space between S01 and E01)
Any insight would be appreciated.