I need to match if a sentence starts with a capital and ends with [?.!] in Python.
EDIT It must have [?.!] only at end but allo
Your regex checks for a single digit in the range [A-Z]. You should change to something like:
[A-Z]
^[A-Z].*[?.!]$
Change the .* to whatever you want to match between the capital letter and the punctuation at the end of the string.
.*