Skip to main content
Skip table of contents

Edit With Regex

With Link Management, you can use the full flexibility of regular expressions to change links in a space.

Replacing links using regex expressions
  1. Choose With regex from the Edit links radio button

  2. Input your regex expressions into the provided fields.

  3. A live preview will show how your links will be modified based on the regex patterns.

  4. Enter a version message in the designated field (optional) and click Replace to proceed. A modal will appear, listing all links that will be updated. Review the changes, then click Replace to confirm or Cancel to discard the changes:

Confirm replacing the links

To change all links from a Confluence Data Center instance to the Confluence Cloud link structure, you can use the following regex and replace strings:

Regex: (yourconfluencedomain.com)\/display\/([A-Z]+)\/

Replace: yourname.atlassian.net/wiki/spaces/$1/pages/

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.