Jump to content

Search the Community

Showing results for tags 'regex'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Affinity Support
    • News and Information
    • Frequently Asked Questions
    • Affinity Support & Questions
    • Feedback & Suggestions
  • Learn and Share
    • Tutorials (Serif and Customer Created Tutorials)
    • Share your work
    • Resources
  • Bug Reporting
    • Report a Bug in Affinity Designer V2
    • Report a Bug in Affinity Photo V2
    • Report a Bug in Affinity Publisher V2
    • Report a Bug in Affinity Version 1 applications
  • Beta Software Forums
    • 2.1 New Features and Improvements
    • Other New Bugs and Issues in the Betas
    • Beta Software Program Members Area
    • [ARCHIVE] Reports from earlier Affinity betas

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start




Website URL






Member Title

Found 3 results

  1. Hi, I recently use this handy regex expression to locate any uppercase or lowercase character within the texts in Afpub documents: \p{Lu} \p{Ll} The probleme is, that this expression does not work, when I surround it with square brackets to combine it with some other expression. For example, if I want to search for any uppercase or, let`s say, question mark, this expression should, in my opinion, work: [\p{Lu}\?] Only, the result of this search is wrong and Publisher finds for me either the character "p", "L", "u", or the mentioned question mark. I`m not sure, if this is some kind of bug, an incompability or if I just write the expression the wrong way. Thanks.
  2. Hi, As part of final checking for a quarterly magazine that I construct with Publisher, I have a checklist that, among other things, contains RegEx patterns that I use to detect extraneous spaces, periods not followed by a space, etc. Beginning with Publisher 2, when I paste the RegEx pattern into the "Find" input control, there's an extraneous character that's appended to what I pasted in, and this character causes the search to fail. I quickly found that a workaround is to just delete this extraneous character prior to doing the search, but I'm curious as to what it actually is. For example, in the attached screenshot, the RegEx pattern that I pasted in was "\. " (backslash, period, space, space), which I use to scan the document for extra spaces following periods. Looking at what got pasted into the input control, there's a white "blob" looking character that's at the end of the pattern, which is not a part of what I pasted in. Could someone explain what this is, and possibly how to prevent this from appearing every time I paste a RegEx pattern? Thanks! Ken UnknownCharacterAfterRegExPaste.tiff
  3. Hi everyone! I'm looking for input, and I hope you can help me. I must split a lengthy document into chapters, and every chapter must start on an odd page break. The author wrote as one long text, flowing from frame to frame. They started the new chapter at the top of the page as 'CHAPTER xx.' Here is the regex code I wrote to Find And Replace in Affinity Publisher. Find: CHA(?=PTER) Replace: <Odd Page Break symbol>CHA NOTE: it is not case sensitive. Manual. I must select the correct 'chapter' from the found list and click replace. I'm having a difficult time creating a pattern code where the replace knows to add the odd page break at the space in front of the word Chapter. Note: sometimes the author used complete uppercase, sometimes it is the first letter uppercase. How would you approach this problem? I'm on macOS Monterey Version 12.3.1 and using Publisher 1.10.4. Any and all input is greatly appreciated!
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. 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.