| Regex | Name | Meaning | Example |
|---|---|---|---|
| X(?Y) | Look Ahead | search X but only it is followed by Y | |
| X(?!Y) | Negative Look Ahead | search X but only it is not followed by Y | |
| (?<=Y)X | Look Behind | search X but only if there is Y before it | |
| (?<!Y)X | Negative Look Behind | search X but only there is no Y before it |