diff --git a/source/net/filebot/format/MediaBindingBean.java b/source/net/filebot/format/MediaBindingBean.java index 59ba36d4..3c130f0a 100644 --- a/source/net/filebot/format/MediaBindingBean.java +++ b/source/net/filebot/format/MediaBindingBean.java @@ -338,7 +338,7 @@ public class MediaBindingBean { String codec = getMediaInfo(StreamKind.Audio, 0, "CodecID/Hint", "Format"); // remove punctuation (e.g. AC-3 => AC3) - return codec.replaceAll("\\p{Punct}", ""); + return PUNCTUATION_OR_SPACE.matcher(codec).replaceAll(""); } @Define("cf")