1 Reply Latest reply on Aug 16, 2012 6:44 AM by frank.henne

    How to use regular expressions in 'replace' mode in 'Find and Replace Text'?

    frank.henne

      I would like to delete the 'newline' character introduced in Scout XREF properties.

       

      Example how to use it in 'perl':

      perl -e '$a="15-C3,2-B2,2-B8,2-F8,5-A1\n5-H5,6-A5,6-C10"; print ">>>$a<<<\n"; $a =~ s/(.*)\n/\1/; print ">>>$a<<<\n";'

      >>>15-C3,2-B2,2-B8,2-F8,5-A1

      5-H5,6-A5,6-C10<<<

      >>>15-C3,2-B2,2-B8,2-F8,5-A15-H5,6-A5,6-C10<<<

       

      Thanks

      Frank