<div dir="ltr">Try using a regular expression like this..<div><br></div><div><a href="http://carpii.homeip.net/skitch/Find-20160207-132857.png">http://carpii.homeip.net/skitch/Find-20160207-132857.png</a><br></div><div><br></div><div>The expression is ^.*::.*$</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 February 2016 at 13:20, J Galt <span dir="ltr"><<a href="mailto:jgaltusa@gmail.com" target="_blank">jgaltusa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Can someone please tell me how this could be done?<div><br></div><div><br></div><div>I am having trouble using the "find and replace" command to covert this:<div><br></div><div><div>PRODUCTS 2::id</div><div>DOCUMENTS::id </div><div>PRODUCTS 2::note </div><div>PRODUCTS 2::prnt_bleed_lr </div><div>PRODUCTS 2::prnt_bleed_tb </div><div>PRODUCTS 2::prnt_gutter_width </div><div>PRODUCTS 2::prnt_material_width </div><div>PRODUCTS 2::prnt_max_printable_height </div><div>PRODUCTS 2::prnt_max_printable_width </div><div><br></div><div>to this:</div><div><br></div><div>getValue( PRODUCTS 2::id ; 1) ;</div><div>getValue( DOCUMENTS::id ; 1) ;</div><div>getValue( PRODUCTS 2::note ; 1) ;</div><div>getValue( PRODUCTS 2::prnt_bleed_lr ; 1) ;</div><div>getValue( PRODUCTS 2::prnt_bleed_tb ; 1) ;</div><div>getValue( PRODUCTS 2::prnt_gutter_width ; 1) ;</div><div>getValue( PRODUCTS 2::prnt_material_width ; 1) ;</div><div>getValue( PRODUCTS 2::prnt_max_printable_height ; 1) ;</div><div>getValue( PRODUCTS 2::prnt_max_printable_width ; 1) ;</div></div><div><br></div><div><br></div><div>I thought that I could simply:</div><div><br></div><div><ul><li>find: \r</li><li>replace with: ; 1) ; \r getValue( </li></ul></div><div><br></div><div>This does not work. :(</div><div><br></div><div><br></div></div></div><br><br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" rel="noreferrer" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br></blockquote></div><br></div>