fork download
  1. import re
  2. s = '0KKoFeunLBVJxVeUXvlGAZsTrKJ3eaFgnfI u tebya rooki eez zhorpy rustoot'
  3. print(re.sub(r'\s*\b(?=\w*(?:[a-z][A-Z]+[a-z]|[A-Z][a-z]+[A-Z]))\w+', '', s))
Success #stdin #stdout 0s 9024KB
stdin
Standard input is empty
stdout
 u tebya rooki eez zhorpy rustoot