It’s totally possible with [\r\n]. For example, if you’re a ripgrep fan:

rg "[\r\n]" src/