Is it possible to use a variable in a regex?

View thread