dollar-sign

Find all words in a string that start with the $ sign in Python

Find all words in a string that start with the $ sign in Python Question: How can I extract all words in a string that start with the $ sign? For example in the string This $string is an $example I want to extract the words $string and $example. I tried with this regex b[$]S* …

Total answers: 5