Это мои STR
import re
old_list = ['85.1.1.1: [ssh] S', '85.44.135.123: [s', '85.444.135.123: [']
p = re.compile(r"\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}")
new_list = []
for _ in old_list:
matched = p.match(_)
if matched:
new_list.append(matched.group())
print(new_list)