Uploaded image for project: 'Confluence Server and Data Center'
  1. Confluence Server and Data Center
  2. CONFSERVER-25190

Add Regular Expression support to editor search & replace

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? 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

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: