Closed ghost closed 6 years ago
When passing a URL in a message slack will pass an encoded version <http://myurl.com|myurl.com> wondering if there is a way to only get the myurl.com part of that string and pass that to a method?
<http://myurl.com|myurl.com>
myurl.com
thanks in advance
You can use a regular expression to extract it.
When passing a URL in a message slack will pass an encoded version
<http://myurl.com|myurl.com>
wondering if there is a way to only get themyurl.com
part of that string and pass that to a method?thanks in advance