public static String sanitize(String text) {
		if (text == null) {
			return null;
		}
		return text.replaceAll("\0", "");
	}
Sanitizes the given text, removing or replacing illegal characters.
<p>
Each illegal character is handled as follows:
<ul>
  <li>null character (\0) -> remove</li>
</ul>

@param text The text to sanitize
@return The sanitized text, or null if the given text was null
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/CommentUtils.java