Code: Select all
media_uri = "/"..string.gsub(media_uri, "^.-///(.*)%..-$","%1")
Code: Select all
media_uri = "/"..string.gsub(media_uri, "^.*//(.*)%..-$","%1")
Code: Select all
media_uri = "/"..string.gsub(media_uri, "^.-///(.*)%..-$","%1")
Code: Select all
media_uri = "/"..string.gsub(media_uri, "^.*//(.*)%..-$","%1")