expr "`ps`" : ".*"

var1="aaa"
expr "$var1" : ".*"