Yesterday I had to create a webpage out of raw data so I remembered a few things about regular expressions to automate the process. The search and replace that did the trick was:
Search : *(.*?); Replace: <a href="$1">$1</a>;
The example above is very simple and regular expressions that detect urls do exist but it was a quick fix for the task in hand.
Maybe some other time I even dare to write:
By looking around a beautiful regular expression that tests if a number is prime caught my attention.