Hi there,
i try to identify valid URLs in a simple string, and replace these parts with suitible HTML-tags, so that users can click on the URL in the text.
Example:
- blablabla http://www.domain.de
- blablabla <a href="http://www.domain.de">http://www.domain.de</a>
But: The script should also be able to identify the valid URL-Part, if there's a comma oder a dot at the end:
Example:
- blablabla http://www.domain.de, blabla...
or even if there's http:// missing:
- blablabla www.domain.de, blablalba
Is there anybody here who can figure this out?
Thanx so far, Christain