I want to extract These are words before hashtag from the below line:
* These are words before hashtag #work/abc/xyz/123
I have tried \#.*, which highlights everything after #hashtag. How can I select words before the hashtag using a single regex statement?
