Reply to topic  [ 5 posts ] 
verse direction change 
Author Message

Joined: 2008-04-01 08:42:17
Posts: 3
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


2008-04-03 00:28:53
Profile

Joined: 2007-03-03 09:55:06
Posts: 494
Location: Europe
Post 
Find: ([0-9]+):([0-9]+)
Replace: \2:\1

This should work.

Henry


2008-04-03 03:21:19
Profile

Joined: 2008-04-01 08:42:17
Posts: 3
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??


2008-04-03 05:13:36
Profile

Joined: 2007-03-03 09:55:06
Posts: 494
Location: Europe
Post 
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.


2008-04-04 01:10:10
Profile

Joined: 2003-11-28 06:45:03
Posts: 6
Location: UK London and SE
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.


2013-04-01 18:25:14
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software