I want to replace all the
\caption(.1..) \caption(.2.) \caption(.3..) \caption(.4..)
What should I put in the search box?
You want to replace
As simple as that.
You need to have the backslash
If you really want to exchange the parentheses to curly braces, you could add a capture group by adding
The content of your first "caption" is captured in the first register, which we access with
Please read the manual on TextMate regular expressions for more: TextMate Manual » Regular Expressions