I implemented a service to consume data through an API. I get a text and inside this text a URL appears.
What I wanted was to regex treat this text and return only the URL.
Is it possible to help me in the function question to get a string and apply regex and return the result?
This all in ionic 2.
Thank you very much.