I want to find the words that start with a \"#\" sign in a string in java. There can be spaces between the sign and the word as well.
The string \"hi #how are # yo
\"hi #how are # yo
Try this expression:
# *(\w+)
This says, match # then match 0 or more spaces and 1 or more letters