11.7. Regex Examples dot (.)Any line that has any of the xax, xbx, ..., that is any character between two x-es. Regex: /x.x/ Input: "abcde" Input: "abxcxbde" Input: "xabcde" Input: "xabxcxde" Any line that has x.x (A real . between two x-es.) Regex: /x\.x/ The special characters are: . * + ? ^ $ \ ( ) [ ] | { } and the delimiter: /
|
Follow me: