in reply to Regexp Confuzzelemt
I think what you are looking for is
#([^?]+) # don't need \? in character class [] [download]
- Ant - Some of my best work - (1 2 3)