Search for a value in the text

I want to find from the list of sizes those sizes that are not multiples of 0 or 5 after the point. Please tell me where you made a mistake.
Thank you

Using Pattern like that will try to match 0 and 5 alternatingly. Instead if that use the input 0|5 into RegEx