I have a string that I want to search through:
"Query Result: Val for ?f : http://www.rk.com/#steak Val for ?a : http://www.rk.com/#movietheaters"
The two variables that I want to capture are the two words after the hashes (in this case steak and movietheaters). Note that there will always be an uri infront of the #. I know I can easily capture groups in .NET or Java but I want to use php. Unfortunately I'm stumbling on the syntax for the regex that would match the string above with the correct capture groups.