I know that "any" cannot be used before negation or without negation in a declarative sentence, but is it correct if "any" has something to modify it?
"I did [anything I could do.]"
"[Anyone without a...] cannot..."
"[Any wise person] will not..."
I think, yes..
and when used like that, it means: everthing I could do..:)