Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to find the list of pages that contain special characters using hexadecimal values in Confluence Command Line Interface (CLI).

Instructions

  1. Get Determine the hexadecimal value for the special character. For example: hexadecimal value for [ is 5B is 5B, hexadecimal value for ] is  is 5D. Find hexadecimal values from Refer to ASCII Character Set and Hexadecimal values page for other hexadecimal values.
  2. Write Compose an action with regex2 parameter to get the list of pages from one space. See the example action below for "[": 

    Code Block
    themeMidnight
     --action getPageList --space SPACEKEY --regex2 ".*[\x5B].*" 


Info

For other special characters, replace 5B with relevant hexadecimal value in the above example.