Detection in the text Url and E-mail addresses
Url & E-mail addresses are used to indicate links to resources located in the LAN/WAN.
addresses identification occurs, usually on the first level domain name or protocol/schema type.
Options Url protocols:
- ftp — File Transfer Protocol FTP
- http — Hypertext Transfer Protocol HTTP
- rtmp — Real Time Messaging Protocol proprietary protocol streaming, mainly used for streaming video and audio from the web cameras via the Internet.
- rtsp — Real Time Streaming Protocol.
- https — Special protocol implementation HTTP, using encryption (usually, SSL or TLS)
- gopher — Gopher protocol
- mailto — Address Email
- nntp — Usenet news via NNTP protocol
- irc — IRC protocol
- telnet — Link to an interactive session Telnet
- xmpp — XMPP protocol (part of Jabber)
- file — Name of the local file
In this case, the more extended list.
Example Url links: http://en.wikipedia.org/wiki/.
Example E-mail адреса: v.petrov@habrahabr.ru.
Presented component demonstrates the allocation Url & E-mail addresses in the text.