I want to match a pattern that starts with $ and ends with either dot(.) or double quote("). I tried with this
re.findall(r"\$(.+?)\.",query1)
Above works for starting with $ and ending with . How to add OR in ending characters so that it matches with pattern ending either with . or with "
Any suggestions ?