[TxMt] Re: How can I find and replace carriage returns?

J Galt jgaltusa at gmail.com
Sun Feb 7 17:40:58 UTC 2016


Thanks very much, that worked great!

I am newbie and I am trying to understand everything that is going on in your expression.

Can you please help me understand what is happening between these two expressions?

^   beginning of the line

.*::.*

$  end of the line


also…


can you please tell me what the zero after the $ doing in this string?

getValue( $0; 1) ;



> On Feb 7, 2016, at 7:29 AM, Carpii UK <carpii.uk at gmail.com> wrote:
> 
> Try using a regular expression like this..
> 
> http://carpii.homeip.net/skitch/Find-20160207-132857.png <http://carpii.homeip.net/skitch/Find-20160207-132857.png>
> 
> The expression is ^.*::.*$

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20160207/2c4d9211/attachment.html>


More information about the textmate mailing list