FNR Multi Regexes

Mar 10, 2016 at 4:42 PM
I need to run two, or more, regexes in a certain order on my text files.

Is there a way to run multiple regexes ( a regex set) on fnr?
If yes, what would the syntax be?

If yes, I assume I can then copy the concatenated code to a command window (using the generated codes from fnr).
Mar 11, 2016 at 8:09 AM
Why not using batch file with all replacements needed?
Pass filename as parameter to batch file.

fnr --cl --useEscapeChars --dir %cd% --fileMask %1 --find \t --replace ""  --alwaysUseEncoding "windows-1250"
fnr --cl --useEscapeChars --dir %cd% --fileMask %1 --find \r\n --replace ""  --alwaysUseEncoding "windows-1250"
fnr --cl --useEscapeChars --dir %cd% --fileMask %1 --find "<div class=\"x_box\">" --replace "\r\n<div class=\"x_box\">" 
Mar 12, 2016 at 10:58 PM
Well, I suppose if you speak Batch this would be an answer, but that is beyond me.
I had hoped to start with the Command, generated from fnr, from my first replace and then add more Regex replace, again from fnr, as needed to that command. Copy and paste it into a command window and run it.