sajad torkamani
import re

# Outputs "Matched!"
if re.search(r"[A-Z]", "Sajad"):
  print("Matched!")
else:
  print("Not matched!")
Tagged: Python

Leave a comment

Your email address will not be published. Required fields are marked *