The first one would have deleted nothing as it needs to match the whole name. I recommend running find with an explicit -print before replacing it in place with -delete or -exec. It’s good to remember that find has a complex order dependent language with -or and -and, but not maybe the best idea to try to use those features.
Here’s a source: https://web.archive.org/web/20211007003509/https://www.reddit.com/r/matrix/comments/q2xefs/batteries_not_processors/
Bottom line, original is batteries