This article explains how to find the list of pages that contain special characters using hexadecimal values in Confluence Command Line Interface (CLI).
Instructions
- 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.
Write Compose an action with regex2 parameter to get the list of pages from one space. See the example action below for "[":
Code Block theme Midnight --action getPageList --space SPACEKEY --regex2 ".*[\x5B].*"
Info |
---|
For other special characters, replace 5B with relevant hexadecimal value in the above example. |