void (final @NotNull XmlTag tag) { if (!tag.isEmpty()) { final XmlTagValue tagValue = tag.getValue(); final Matcher matcher = PATTERN.matcher(tagValue.getText()); if (matcher.matches()) { tagValue.setText(matcher.replaceAll("")); } } tag.acceptChildren(this); }