Since AWS requires a specific regex value of ^([\\p{L}\\p{Z}\\p{N}_.:/=+-@]*)$for its instance ID for AWS SSM, I am trying to figure out the best way to replace
^([\\p{L}\\p{Z}\\p{N}_.:/=+-@]*)$