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

Search the Community

Showing results for tags 'regular expressions'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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
    • V2 Bugs found on macOS
    • V2 Bugs found on Windows
    • V2 Bugs found on iPad
    • Reports of Bugs in Affinity Version 1 applications
  • Beta Software Forums
    • 2.4 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

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests


Member Title

Found 4 results

  1. Find and replace with regular expressions Ability to save regular expressions with names (with all settings, i.e. replace field, paragraph styles, etc.). Without this option, working with it hardly makes sense. When I check a longer text I first run through about 30 different regular expressions. It's a lot of work when I have to type them into the search field and the replace field by hand every time. You should be able to see whether paragraph styles, character styles, etc. have been set. \n not working. \n should only find line breaks. Find and replace in general Show number of hits. "Replace" button, which only replaces, but does not look for the next hit. Often you want to check the first replacement. "Replace and Find" button, that is, what Replace is currently doing. "Search backwards" button. After replacing, gray out the entry in the list - or delete it completely.
  2. 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
  3. There's a thread here about searching and replacing text that includes the following suggestion: To find and delete text, select "regular expression" In the text within the Find field, don't use parens. Use "\1" alone in the Replace field. This does work. For example I had ;h2\s+ for the "find" expression and "\1" alone for the replacement. All occurrences of ";h2" followed by 1+ space(s) were deleted. Yes, it works, but it seems like a bit of a hack. So... • Is there another approach to execute a global find-and-delete operation throughout a long collection of text in linked text frames? In nearly all of the word processors and text editors I've used, an empty replacement field means: "delete." Is there some reason it shouldn't also mean "delete" in Publisher? (Not meant as a rhetorical question.) • I found that with the cursor at the start of the text, sometimes pressing the Find button caused the cursor to advance to the first "found location," and sometimes the cursor remained at the start of the text. This appears intermittent and I can't predict when it will happen. I'm assuming it is a bug. If it isn't a bug, what would the reason be for the "variable" behavior?
  4. \b works only at word beginning. Given a word 'the' in the text, \bthe matches the\b does not match P.
×
×
  • 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.