nisus.com
https://www.nisus.com/forum/

verse direction change
https://www.nisus.com/forum/viewtopic.php?f=6&t=2895
Page 1 of 1

Author:  rico2008 [ 2008-04-03 00:28:53 ]
Post subject:  verse direction change

In Classic Nisus I would like to be able to reverse numbers so that
12:34 will become 34:12;
and 2:9 becomes 9:2
and 6:12 becomes 12:6
and 20:3 becomes 3:20

is there an equation I can use to reverse these? right now
(0-9)1+:(0-9)1+ finds them but what about replace?
thx

Author:  Groucho [ 2008-04-03 03:21:19 ]
Post subject: 

Find: ([0-9]+):([0-9]+)
Replace: \2:\1

This should work.

Henry

Author:  rico2008 [ 2008-04-03 05:13:36 ]
Post subject:  verse direction change

That replace didn't work because it turns each find into \2:\1 instead of to the desired reverse arrangement.
maybe this is on the way to something though

also (0-9)1+: (0-9)1+ is better for isolating the verse couplets.

any more??

Author:  Groucho [ 2008-04-04 01:10:10 ]
Post subject: 

Looks like you are using PowerFind.
Try switching to PowerFind Pro, instead, then digit:

Find: \([0-9]+\):\([0-9]+\)
Replace: \2:\1

If this doesn't work, try this Find expression:

\([0-9]+\)\:\([0-9]+\)

I haven't used NWC for quite a long time now, and am not sure whether colon needs be escaped or not.

Cheers, Henry.

Author:  davidchristmass [ 2013-04-01 18:25:14 ]
Post subject:  Re: verse direction change

There is a complete fast, exact method, save the page as a graphic, mirror the page horrizontal, complete, and then flip the numbers that appear backward, individually the right way around.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/