Skip to main content
Inspiring
February 24, 2024
Answered

Mettre le mot siècle au pluriel

  • February 24, 2024
  • 2 replies
  • 265 views

Bonjour,

J'ai un document de 650 pages qui contient ce texte " xve-­xvie siècle ".

Je voudrais ajouter le "s" à siècle. J'ai beaucoup  cherché, mais je bute sur l'expression Grep à utiliser.

Quand j'écris ([\l\u]+-~-[\l\u]+\s)siècle\b, je trouve bien toute la séquence, mais quand je veux restreindre la sélection au mot siècle par (?<=[\l\u]+-~-[\l\u]+\s)siècle\b,  InDesign ne trouve aucune correspondance.

J'ai l'impression qu'il ne manque pas grand chose mais je sèche.

Merci

This topic has been closed for replies.
Correct answer Barb Binder

Try:

 

([\l\u]+-­[\l\u]+\s)\Ksiècle\b

 

(I added the red to make it easy to see.)

 

 

Or you could go with ([\l\u]+-­[\l\u]+\ssiècle)\K\b and just add the s.

 

~Barb

2 replies

Barb Binder
Community Expert
Barb BinderCommunity ExpertCorrect answer
Community Expert
February 24, 2024

Try:

 

([\l\u]+-­[\l\u]+\s)\Ksiècle\b

 

(I added the red to make it easy to see.)

 

 

Or you could go with ([\l\u]+-­[\l\u]+\ssiècle)\K\b and just add the s.

 

~Barb

~Barb at Rocky Mountain Training
kglad
Community Expert
Community Expert
February 24, 2024

in the future, to find the best place to post your message, use the list here, https://community.adobe.com/

p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.



<"moved from cc desktop">
Inspiring
February 24, 2024

Merci pour cette information