Basics of Regular Expressions
You can match a word by putting it between two brackets.
As example, this will only match the word "Dinosaur":
If you don't want to match something you will have to put a
?: before it.
As example, this will not match the word "Donkey":
You may also want to catch multiple options, for that we use a "Vertical bar" or also known as a "Pipe" between linux users.
As example, this will match if either "Cat" or "Dog" is present:
To match anything of any length, use
To match a word, you put it between two brackets.
Sometimes you have to use special characters but it may cause conflicts. In this case, you will have to use an escape character.
For example, this is a star that doesn't interfere with other matches
If you still do not know what Regex are or want to know more. Check out the cheat sheet on the site below.