Inserting URLs without the hyperlink
The question is tagged with hyperref
, then \nolinkurl
is the counterpart of \url
without link.
If hyperref
is not used, then the link is probably created by the PDF viewer, which uses a heuristics to detect links in text.