I’m parsing a variable and am trying to see if it’s possible to get the substring to the right of the last forward slash of a string.
http://docs.ansible.com/playbooks_variables.html#jinja2-filters
http://jinja.pocoo.org/docs/templates/#builtin-filters
I’ve been struggling with the replace filter.
{{ item.url | replace(“*/”, ‘’) }}
Is it possible to get the part after the last forward slash?