import re
test = ['bbb', 'ccc', 'axx', 'xzz', 'xaa']
reg = re.compile(r'^x')
test = list(filter(reg.search, test))
print(test)