Rod McLaughlin

Software Development by Random Guesswork (14 feb 21)

Using the software development method known as 'random guesswork', I changed a regex, putting the underscore before the dash, instead of the other way round, and found I could correctly turn URLs with dashes after the domain, AND with underscores after the domain, like so:


This correctly isolates the following strings, and turns them into URLs with href='http://...' etc.


Portland London