Add Regular Expression support to editor search & replace

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Answered
    • None
    • Component/s: None

      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

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

            Assignee:
            Unassigned
            Reporter:
            Morten Hattesen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: