Jump to content

Recommended Posts

Thank you for your great work with regular expressions. It met my expectations and works well with Polish conjunctions.
On the screenshots, you can see how regular expressions correct conjunctions at the end of the line.

"Search and replace", where we enter the following expressions:

Search for a regular expression:
(\s[iuawzoIUAWZO])(\s)
- for individual characters

(\s(Do|W|We|Z|Za|Ze|I|O|U|A|do|w|we|z|za|ze|i|o|u|a))(\s)
or 
(\s\b.{1,2}\b)\s
- for longer words

Tekst zastępujący:
\1[Non Breaking Space - from the pop-up menu]

The rules come from: https://swiatczytnikow.pl/jak-pozbyc-sie-wiszacych-spojnikow-w-calibre/

It would be useful to be able to save the rule in the Publisher. Maybe it exists and I did not find it?

PS. Sorry for my English - Google translate 

01-before.png

02-after.png

03-before.png

04-after.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

These are the Terms of Use you will be asked to agree to if you join the forum. | 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.