Regular Expressions Special Symbols

  • [:alnum:]  Represents English uppercase and lowercase letters and numbers, and 0-9, A-Z, a-z.
  • [:alpha:]  Represents any English uppercase and lowercase letters, as well as A-Z, a-z.
  • [:blank:]  Represents both the space key and the [Tab] key.
  • [:cntrl:]  Represents the control keys on the keyboard, including CR, LF, Tab, Del... etc.
  • [:digit:]  Represents only numbers, that is, 0-9.
  • [:graph:]  All keys except blank characters (space key and [Tab] key).
  • [:lower:]  Represents lowercase characters, i.e. a-z.
  • [:print:]  Represents any character that can be printed.
  • [:punct:]  Represents punctuation symbol, that is: "'?!;: # $...
  • [:upper:]  Represents uppercase characters, which is A-Z.
  • [:space:]  Any characters that will produce blanks, including blank keys, [Tab], CR, etc.
  • [:xdigit:]  Represents a hexadecimal number type, so it includes: 0-9, A-F, a-f numbers and characters.

Comments

Popular posts from this blog

BdsDex: failed to load Boot0001 "UEFI BHYVE SATA DISK BHYVE-OABE-20A5-E582" from PciRoot(0x0)/Pci (0x2, 0x0)/Stat(0x0,0xFFFF,0x0) : Not Found

How To Install Nginx, MySQL and PHP (FEMP) Stack on FreeBSD 13.0

Install samba on FreeBSD(on VMware Workstation) to share files with Window.