/1.$/!{s/1$/1st/;s/2$/2nd/;s/3$/3rd/;t} s/$/th/
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page