The character ^ has been incorrectly used in the regular expression. In a regular expression ^ must either:
• | Be the first character where it represents the start of a line. |
• | Follow a [ where it alters the meaning of the enclosed set. |
To search for ^ in a regular expression you must use \^
Examples