I am trying to check string which:
- Must start from $ symbol
- followed by $ symbol it can have alphabets and digits(no sign).
- No Special character and space are allowed(except $ symbol in the beginning)
is_match = re.search("^\$[a-zA-Z0-9]", word)
Problem I am facing
It is accepting special characters and space in my string.