View Single Post
Old 12-10-2022, 02:15 AM   #2
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Dashcroft View Post
I would like to automatically find and replace the spaces in "T. S. Eliot", "D. H. Lawrence", "F. R. Leavis" and similarly patterned names with non-breaking spaces.
I explained all of this (and other examples) in extreme detail in:

- - -

Side Note: If you wanted even more fantastic regex tips/tricks, see my posts a few months ago in:

I linked to a ton of the previous topics + step-by-step breakdowns of helpful regular expressions.

- - -

Quote:
Originally Posted by Dashcroft View Post
What am I doing wrong and what might help in this case?
And may I ask why you're trying to use NBSPs in your ebooks? Is there any specific reason or issue you were trying to solve?

Last edited by Tex2002ans; 12-10-2022 at 02:18 AM.
Tex2002ans is offline   Reply With Quote