private String getTextFromBytes(String text, SearchFormat oldFormat, SearchSettings settings) {
		ByteMatcher byteMatcher = oldFormat.parse(text, settings);
		if ((byteMatcher instanceof MaskedByteSequenceByteMatcher matcher)) {
			byte[] bytes = matcher.getBytes();
			if (bytes.length >= byteSize) {
				String valueString = getValueString(bytes, settings);
				return valueString.replaceAll(",", "");
			}
		}
		return isValidText(text, settings) ? text : "";
	}
{@link SearchFormat} for parsing and display bytes in a float or double format.
Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/format/FloatSearchFormat.java