Tutorial 8 : Regular Expressions in Python-escape character in regex
Oct 5, 2021
Missed previous tutorial ? — Click here
Escape character- backslash (\)
It is used to escape the metacharacter in regex since it cannot be grabbed or matched as it is. So we need to use escape character (\) before metacharacter.
Let’s understand this using examples :
Till now we have covered regex pretty much. I hope now you are comfortable with this topic. There is only one tutorial remaining.
So take a deep breathe and move to the next tutorial.
Happy learning !!!