Find what: ^(?!$)
Find what: (?!^)$
Find what: ^.+$
Replacement: <a href="$0"></a>
Find what: .+
Replacement: <a href="$0"></a>
Find what: ^[ t]*S[^rn]*
Replacement: <a href="$0"></a>