Jinja2 Find In String Matlab