Skip to content

Instantly share code, notes, and snippets.

@objectivehtml
Created September 30, 2011 17:40
Show Gist options
  • Save objectivehtml/1254451 to your computer and use it in GitHub Desktop.
Save objectivehtml/1254451 to your computer and use it in GitHub Desktop.
{exp:rtrim string="{exp:low_replace find="^http:\\/\\/(www\\.)?(.*)\\/$" replace="$2" regex="yes"}http://www.domain.com/folder/{/exp:low_replace}" trim="/"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment