Contact: aviboots(AT)netvision.net.il
39,880 questions
51,806 answers
573 users
import re s = '#PY23thon#$% Prog(_)*&raMMing 123LAngu9837age' result = [ch for ch in s if ch.isupper()] print(result) ''' run: 'P', 'Y', 'P', 'M', 'M', 'L', 'A' '''