Groovy web console

subscribe to the feed Subscribe
to this
site
Untitled (via #groovywebconsole)
tweet this snippet Tweet
this
script

Untitled

Published 4 months ago by Ranjith
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def call() {
    def orgSlashAppName = ('geo/geo-service' =~ '(^[^/]+/[^/]+)/[^/]+$')[0][1]
    return orgSlashAppName.toLowerCase()
}

print call()