[OS X TeX] Search with .* but how to replace?
paul.mccann at adelaide.edu.au
Sat Apr 26 21:53:51 EDT 2014
with "Grep" ticked in TextWrangler...
Backslash is an escaping character in regular expressions, so to find
a literal backslash you need to double it. The parentheses around the
.*? capture the (minimal) contents inside the curly brackets and make
it available in the replacement field via \1.
More information about the MacOSX-TeX