Regular Expression Cheat Sheet

Regular expression is very often used in NLP. I usually use it to find well-defined patterns in texts. There are lots of symbols and rules in regex. Here I tabulate some frequently used symbols which I always need to look up online. Selected from this webpage. Character Legend \d one digit from 0 to 9 […]