File Mover Blog

January 9, 2024

How to search for a string and replace it with a CRLF

How to search for a string and replace it with a CRLF

Q: Is it possible to search for a string and replace it with a CRLF (as we say in windows) [Return]

The main issue is to replace <br/> with a carriage return Line feed

A: Yes this is possible by adding the following script:

  • We used a Windows folder as Source:

limagito file mover Windows folder as source

  • Because we only want to process text files, we added the following include filename filter:

limagito file mover file filter setup

  • As Destination we added our Pascal Script option, do not forget to adjust the ctOutputPath const:
    • Please add the following script: link
    • This script will replace all <br/> entries by #13#10 (CRLF)

limagito file mover destination setup

 

#fileconversion #managedfiletransfer #filetransfer #filemanagement

If you need any help with this question, please let us know.

Best Regards,

Limagito Team

 

By Limagito-Team Conversion Pascal Script , Share:
SEARCH