the following expression captures positive dollar values i.e. 400$ how can i modify this to capture negative values only.
pattern = re.compile(r'^\d+\$$')
the following expression captures positive dollar values i.e. 400$ how can i modify this to capture negative values only.
pattern = re.compile(r'^\d+\$$')