Hi,
please I want to know: If and How I can use variables in "regexp" .
example:
avp_subst("avp(s:var1)/$avp(s:var2)","/(.*)$avp(s:var3)(.*)/\1/")
In this example, simply the "$avp(s:var3)" string is matched, not the $avp(s:var3)'s content.

I am very need this function.

Thanks in advance,
Yazid