AnsweredAssumed Answered

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

Question asked by frank.henne on Aug 13, 2012
Latest reply on Aug 16, 2012 by 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

Outcomes