Skip to content
OddsockLocal
Local
Source text

Formatting

5 wordsRuns in this browser. Nothing is uploaded.

How to use

  1. Paste the paragraph or drop a text file.
  2. Scan for a trailing ) that belonged to the sentence, not the URL.
  3. Turn Unique matches only on if the same link appears in several sentences.
  4. Copy the list. Nothing is requested from those hosts.

What is Extract URLs?

Links in a paragraph are useful as a list and noisy as prose. This page takes http:// and https:// up to the next whitespace, angle bracket, or quote, then strips a trailing run of periods, commas, semicolons, colons, exclamation marks, or question marks. “See https://dryer.example/a.” becomes https://dryer.example/a. “https://example.com/a?q=1,” loses the comma. “http://example.com/b;” loses the semicolon.

Read more

“Odd socks in the dryer.” contains no link, so the result is blank. A bare www.dryer.example is missed, because there is no scheme. ftp:// and mailto: are missed. A link broken across two lines is missed.

Parentheses are not trailing punctuation. “(https://dryer.example/b)” comes back with the closing parenthesis still attached. You have to delete that character yourself. Unique matches only keeps the first exact copy. The page does not fetch the link or check that it resolves.

Use cases

  • An editor building a source list from a research dump.
  • A moderator collecting every link in a reported post.
  • A developer pulling webhook URLs out of a log paste.
  • A student separating citations from the sentences around them.
  • Someone checking that a period at the end of a sentence did not stay glued to the path.

A sentence period, a parenthetical link, and a bare www

See https://dryer.example/a. and (https://dryer.example/b) plus www.dryer.example

https://dryer.example/a https://dryer.example/b) The period is gone. The closing parenthesis remains. The www link is absent.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

Only http:// and https:// match. Add the scheme in the source, or accept that scheme-less hosts are skipped.