Is it possible for me to write regular expression into a batch file as a find and replace on all files?
I'm currently converting docx to txt using pandoc prompts in a batch file, and I want the batch file to also run a find and replace on the converted files to clean them up rather than having to open in notepad++ and run the few find and replaces manually.
Trying to turn a 5-10 minute job into a 2 minute max job for work, really, but I'm fairly unfamiliar coding.
Trying to run the following:
FIND: \r\n
REPLACE: \r\n\r\n
FIND: STUDENT: [^\r\n]{1,200}
REPLACE: STUDENT:
FIND: _[A-z].{1,300}
REPLACE: [nothing] tick .matches new line
FIND: -{2,2000}
REPLACE: [nothing]
If anyone could help out or at least point me in the right direction. I have no experience with this aside from editing batch files that already exist to make them do what I want.