1. Regular expression is a standard that can be used to find and replace text in a file or character. It has two standards: basic regular expressions (BRE), extended regular expressions (ERE). ERE includes BRE function and other concepts. 2. "|" indicates or operates 3. "." Match any single character 4. "[]" Match any single character contained in any [], such as: [Zhang Wang Li] three, match Zhang San, Wang San, Li "[^]" Will eliminate the characters followed by "^", such as: [^ 0-9] will exclude numbers 6. "?" 0 or 1 front character 7. "*" Match any 0 To any number of characters 8. " " Matches any multiple repetition characters, such as: [Good] people, match "good people", "good people" 9. "{N}" matches n times before {n} Character, such as [is a good person] {2}, match "it is a human" and "good people", do not match "Yes", "is a good person" 10. "{N,}" matches at least n times { The characters before n}, such as: [is a good person] {2,} ah, match "is a good person" and "good people", do not match "Yes" 11. "{n, n}" matches at least n times up to The character before n times {n, n}, such as: [is a good person] {1, 2}, match "Yes" and "good people", do not match "is a good person" 12. "^" From the first Start matching 13. "$" Starts matching from the run 14. "/ <" Match from the start of the word, such as "/