Im not sure how I can achieve this match expression. Currently I am using,
([A-Za-z0-9-]+)
...which matches letters and numbers. I would
Depending on your regex variant, you might be able to do simply this:
([\w-]+)
Also, you probably don't need the parentheses unless this is part of a larger expression.