I have a file with over 1000 lines
Like this
CM.ID=1448 OR
CM.ID=1740 OR
CM.ID=1741 OR
CM.ID=1742 OR
CM.ID=1744 OR
CM.ID=2621 OR
CM.ID=2622 OR
CM.ID=2623 OR
etc
I would like the file to look like this
CM.ID=1448 OR CM.ID=1740 OR CM.ID=1741 OR CM.ID=1742 OR
CM.ID=1744 OR CM.ID=2621 OR CM.ID=2622 OR CM.ID=2623 OR
Replace every 4th line break
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
Ben I get an errorben_josephs wrote:I think you mean you want to replace every line break except every fourth one with a space.Find what: (.*)\n(.*)\n(.*)\n(.*)\n
Replace with: $1 $2 $3 $4\n
[X] Regular expression
Replace All
States Cannot match Regular Expression
Any idea what I might be doing wrong?
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm