Search found 3 matches

by syrist
23 Apr 2022 11:53
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 2165091

Re: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets

I love JREPL but just can't figure out how to do this one thing... I have a text file with:

Code: Select all

Line1
Line2
Line3
Line4
I would like to be able to use JRPL to remove the line feed between "LIne1" and "Line2" to a new text file with:

Code: Select all

Line1Line2
Line3
Line4
Is this possible? Thanks.
by syrist
27 May 2020 11:47
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 2165091

Re: JREPL.BAT v8.5 - regex text processor with support for text highlighting and alternate character sets

Thnaks, that worked.

Another quick question... I have a text file that contains pipe | symbols that I want to remove. I don't see an escape code for pipes... so I just tried this which didn't work:

Code: Select all

JREPL "|" "" /xseq /m /f TEST2.txt /o TEST2b.txt
Any ideas for this one?
by syrist
27 May 2020 07:51
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 2165091

Re: JREPL.BAT v8.5 - regex text processor with support for text highlighting and alternate character sets

JREPL is great and I'm going to use it all the time. It already massively improved my workflow for processing data. One question... is there a way to use JREPL to strip all line feeds from a text file? So I can go from: This is a test to Thisisatest I tried this command line but it didn't work: jrep...