Regexp - Backslash


Backslash is the general escape meta-character with several uses. It can:

  • Stand for itself,
  • Quote the next character,
  • Introduce an operator,
  • Do nothing

Use Case

Escape Meta_character

Non-printing characters

Generic character types

The third use of backslash is for specifying generic character types.

Simple Assertions

It can also stands for simple assertion

Documentation / Reference

Powered by ComboStrap