Рейтинг 5 из 5 звёзд

Regexp does not work under my system (Ubuntu). If I enter $1 in the replace field, it simply replaces the string with "$'1".