check if two operator follow and if two [xX] follow. You can combine this with https://regex101.com/r/qT7fO0/1