In my language there is a mathematical expression for when a statement is true, except for a special subcase. It happens a lot in measure theory, for instance:
A property $P$ is said to hold "almost everywhere" in $X$ if there exists a set $N\subset X$ of measure zero such that $P$ holds for every point of $X$ except for maybe the points in $N$.
Say I wanted to rewrite that as a sentence in a simplified manner, removing the specifics of "points in" part and formulating it all around the set, like: "$P$ holds almost everywhere on $X$ if it holds on $X$ except for a set of measure zero"
However "except for" doesn't fit quite as good in this sentence as it does in my language. So I wonder: is there an expression in english that I can use it to rewrite this simplified version? Please, keep in mind the measure thing is just an example, I'm not looking for a way of stating this specific expression, I want a mathematical expression to shorten the sentences like I said in this example, but that should hold for similar cases as well.