1. Find what: ^(?!$)
  2.  
  3. Find what: (?!^)$
  4.  
  5. Find what: ^.+$
  6. Replacement: <a href="$0"></a>
  7.  
  8. Find what: .+
  9. Replacement: <a href="$0"></a>
  10.  
  11. Find what: ^[ t]*S[^rn]*
  12. Replacement: <a href="$0"></a>