Regular expression and variable

Hello,

I want to use a regular expression to identify a string that begin with a value of a variable?

I try this expression but it doesn’t work /^%variable%/