a=/b/c/*
b=\\
echo ${a%$b*}