Hide the middle of a string while keeping chosen edges and optional spaces.
Enable JavaScript to use these tools.