Find list of pages that contain special characters using hexadecimal values in Confluence (CLI)
This article explains how to find the list of pages that contain special characters using hexadecimal values in Confluence Command Line Interface (CLI).
Instructions
- Determine the hexadecimal value for the special character. For example: hexadecimal value for [ is 5B, hexadecimal value for ] is 5D. Refer to ASCII Character Set and Hexadecimal values for other hexadecimal values.
Compose an action with regex2 parameter to get the list of pages from one space. See the example action below for "[":
--action getPageList --space SPACEKEY --regex2 ".*[\x5B].*"
For other special characters, replace 5B with relevant hexadecimal value in the above example.