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

PowerFind OR
https://www.nisus.com/forum/viewtopic.php?f=18&t=2524
Page 1 of 1

Author:  nelsonbyrne [ 2007-08-28 16:43:55 ]
Post subject:  PowerFind OR

How do I use OR in PF?

I want to find uses of
o OR a followed by r
That is, I want to find all
…or…
and also all
…ar…


Using OR in PF I find all
o
and also all
ar


Regards,

Nelson Byrne

Author:  ssampler [ 2007-08-28 18:17:52 ]
Post subject: 

Not sure about powerfind, but in powerfind pro it is simple:

(o|a)r


the "|" is the "or" and the () group, so that the translation is "o" or "a" followed by "r"

-Steve

Author:  martin [ 2007-08-28 23:23:14 ]
Post subject: 

You could use a PowerFind capture to do the grouping Steve suggested, but really nothing so fancy is required here. Why not just use:

or(OR)ar

Where "(OR)" represents the PowerFind bubble for OR. Does that make sense?

Author:  ssampler [ 2007-08-29 07:15:48 ]
Post subject: 

Much simpler, Martin! I've forgotten how powerful powerfind is.

Steve

Author:  nelsonbyrne [ 2007-08-31 16:41:02 ]
Post subject:  PowerFind OR

Thanks for the help, especially the capture.

Here's what I'd like to find:

(Line Separator U+2028
OR
Line feed U+000A)
followed by any characters in italics up to a Line feed


And on finding them I'd like to replace the initial character by a line feed and then assign a style to the italic characters and to their terminating line feed.

I'm working with a source that flags certain paragraphs in italic, but sometimes uses line separators and sometimes uses line feed.

Thanks in advance,

Nelson

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