yea... you suppose to include DLL download link.
some comments to improve this snippet:
1) in $regex you just need to use /S to strip. that\'s mean you dont have to use $strip.
2) you used $pos identifier there is useless.
i mean here: $pos($level($strip($1-)),adv,0)
$level dont need $pos to extract the value of $1-.
that\'s all my comments