Regex for jEdit
Submitted by Sunday, 29 November, 2009 - 18:40
on
Hi there - this is my first post here on the forum. I used to use UE but have switched to jEDIT. I have a regex for EU that adds the word BREAK every three sentences (or periods really), that worked like this.
BEFORE
The cow juumped over the silvery moon. Jack and Jill went up the hill to fetch a pail of water. Humpty Dumpty sat on a wall. It was the best the times it was the worst of times.
AFTER REGX
The cow juumped over the silvery moon. Jack and Jill went up the hill to fetch a pail of water. Humpty Dumpty sat on a wall. BREAK It was the best the times it was the worst of times.
This was the REGEX I used in EU for this move;
Find What: ^([~.]+.[~.]+.[~.]+.^)
Replace With: ^1 BREAK
Does any smart person know what the jEDIT version of this would be??? I'm fighting it with no signs of success in the near future.
BEFORE
The cow juumped over the silvery moon. Jack and Jill went up the hill to fetch a pail of water. Humpty Dumpty sat on a wall. It was the best the times it was the worst of times.
AFTER REGX
The cow juumped over the silvery moon. Jack and Jill went up the hill to fetch a pail of water. Humpty Dumpty sat on a wall. BREAK It was the best the times it was the worst of times.
This was the REGEX I used in EU for this move;
Find What: ^([~.]+.[~.]+.[~.]+.^)
Replace With: ^1 BREAK
Does any smart person know what the jEDIT version of this would be??? I'm fighting it with no signs of success in the near future.