Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-25190

Add Regular Expression support to editor search & replace

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      The "3. Editor Find & Replace" feature added to Confluence 4.1 could really use the addition of (optional) support for regular expressions in the "find" term, and back-references in the "replace" term.

      Similar support is available in JSPWiki, and allows complex search/replace to be done on pages.

      Example:

      Make all bullet list entries bold:

      Find (regex): ^(* )(.+)
      Replace: \1*\2*

      (assumes backreferences to capturing groups are made using backslash, JSPWiki uses "$")

      A screenshot using the above example, using JSPWiki, is attached to this issue

        1. jspwiki.tiff
          186 kB
          Morten Hattesen
        2. jspwiki-search-replace.png
          122 kB
          Morten Hattesen

              Unassigned Unassigned
              7ece6c6791ab Morten Hattesen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: