[OS X TeX] Search with .* but how to replace?
paul.mccann at adelaide.edu.au
Sun Apr 27 03:53:51 CEST 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 macostex-archives