Regex: How to match a string that is not only numbers May 30, 2023 by Tarik (?!^\d+$)^.+$ This says lookahead for lines that do not contain all digits and match the entire line.