Search Parenthesis

Everything related to our flagship word processor.
Post Reply
Emilio_Speciale
Posts: 27
Joined: 2013-11-04 06:16:07

Search Parenthesis

Post by Emilio_Speciale »

A quick and very easy question:
In a file I have few occurrences of text between parenthesis. How do I perform a find of the text with parenthesis?
For Instance in this text:

TTT: Shoah e cultura visuale in ItaliaOOO:Damiano Garofalo (Università di Padova, Fondazione Museo della Shoah)Luca Peretti (Yale University)MMM:Robert Gordon (University of Cambridge)1. Andrea Minuz (Sapienza Università di Roma) — Memoria della Shoah, defascistizzazione e costruzione del 'bravo italiano' nei documenti della censura cinematografica (1945-1951)2. Vanessa Roghi (Sapienza Università di Roma, Rai Tre) — Making of di un documentario (mai fatto) sulla Shoah3. Damiano Garofalo (Università di Padova, Fondazione Museo della Shoah) — La memoria della Shoah nello spazio intermediale. Per un immaginario storico del presente

If I do a search like (Any Character) it does not work.
Thanks for your help
ES
adryan
Posts: 561
Joined: 2014-02-08 12:57:03
Location: Australia

Re: Search Parenthesis

Post by adryan »

G’day!

Searching for "(AnyCharacter)" will only find occurrences of a single character delimited by parentheses.

If you are using PowerFind, try "(AnyCharacter 1+Shortest)” instead, where I have included a space merely to separate the two wildcards here, for legibility.

If you are using PowerFind Pro, try “\(.+?\)” as the search term.
MacBook Pro (M1 Pro, 2021)
macOS Ventura
Nisus Writer user since 1996
Emilio_Speciale
Posts: 27
Joined: 2013-11-04 06:16:07

Re: Search Parenthesis

Post by Emilio_Speciale »

Thanks! It works!

Now If I want to make italics what I have found BUT the parenthesis how I would go?

(Any Character I found)
Have a wonderful day.
ES
User avatar
phspaelti
Posts: 1313
Joined: 2007-02-07 00:58:12
Location: Japan

Re: Search Parenthesis

Post by phspaelti »

You can do that by using "Preceded By" and "Followed By" in the Match menu on the parentheses. Here's what it looks like with Powerfind:
Find_in_Parentheses.png
Find_in_Parentheses.png (71.63 KiB) Viewed 6314 times
philip
Post Reply