Character class subtraction, converting from Java syntax to RegexBuddy
Like most regex flavors, java.util.regex.Pattern has its own specific features with syntax that may not be fully compatible with others; this includes character class union, intersection and subtraction: [a-d[m-p]] : a through d, or m through p: [a-dm-p] (union) [a-z&&[def]] : d, e, or f (intersection) [a-z&&[^bc]] : a through z, except for b and … Read more