Regex Explanation ^.*$ [duplicate]
^ matches position just before the first character of the string $ matches position just after the last character of the string . matches a single character. Does not matter what character it is, except newline * matches preceding match zero or more times So, ^.*$ means – match, from beginning to end, any character that appears zero or more times. … Read more