- Posted by
- Hi Mofi, Thanks. As you can see, the goal is to general the files and the ability to change the content like by incrementing the matching string. For example, the segment ORC| contain the an identifier, but for testing purpose, I want to make it easy by starting with an alphabetic character then fol...Posted in Scripts
-   Topics
-   Views
- G372008
Jan 28, 2021
- Hi Mofi, Thank you and this new version works well, and logging the error help me as well. I still not an expert to do this, but can edit a bit and read regular expression. Yes, I should have given the original message to start with but here is the full message. MSH|^~\&|||||20200127135400637||||P|2...Posted in Scripts
-   Topics
-   Views
- G372008
Jan 26, 2021
- Thank Mofi, It worked, then it stop working. I even copy and replace the code. I don't know why it stop creating files. Also, I have a few questions: In the file, when I have this line: ORC||A0011|||||^^^^^R^EVER|||||||||||<cr> It will break the line in the duplicated file as: ORC||A0011|||||^^^^ ...Posted in Scripts
-   Topics
-   Views
- G372008
Jan 26, 2021
- Hi all, Would someone be able to help me to achieve these goals. The goals are to replicate files and modify the content, so I can use these files for testing a system. Say I have a folder with a file name A1. I would like a prompt and based on the integer I enter, I would to copy the file and repli...Posted in Scripts
-   Topics
-   Views
- G372008
Jan 25, 2021