Jump to content
You must now use your email address to sign in [click for more info] ×

Find and replace not working when formatting search criteria at the same time


Recommended Posts

Find and replace not working when formatting search criteria at the same time

When using search and replace with the following expresion: ( \s\w{1,10}[[:punct:]]$ ) and no formating search criteria all works fine.

 

the expresion selects all words at the end of a paragraph followed by a "."

image.thumb.jpeg.e8ad42730f65221e1d9a7d780548fe7d.jpeg

 

Problem happends when aplying a a formatting search criteria, in my case only search in the following paragraph style: (TXT común)

 

image.thumb.jpeg.15957b18acc44e5fc3ce9f6a44e74c63.jpeg

 

thank you very much for your time

 

affinity publisher 2.0.3 

Link to comment
Share on other sites

  • 3 weeks later...

Hi Eduardo and welcome to the forum. I'm unable to duplicate this with 2.0.3 but I'm on macOS whereas you're on Windows. Perhaps another Windows user could give this a test.

Note for those testing this - there has to be a paragraph return after the period to match correctly. A test doc attached. Doing a regex search for the included string which you can copy from the document's first line with the paragraph style Bullet 1 should result in 4 results as shown here.

regex-format test.afpub

1687155297_Screenshot2023-01-16at10_54_44PM.thumb.png.0c6f03fb05c4f6490d0cd8fdc965b74c.png

Link to comment
Share on other sites

8 hours ago, PixelEngineer said:

Was able to get it working on my Windows machine. Had it replace formatting only for styles that I told it to search. Affinity 2.0.3 

Thanks for letting us know.

Cheers

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.