I'm trying to match lines that do not begin with "CD" or any 2-digit number. I've tried:
^[^Cc0-9][^Dd0-9].+?$
but it does not match lines that begin with "Cx" or "0y".
I'm using a program called rxrepl with the above regex as the search string and nothing as the replacement. I'm trying to avoid using grep. Also I can't use parentheses because in rxrepl they are used to capture groups.