O'Reilly logo

Learning AWK Programming by Shiwang Kalkhanda

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Brackets expressions

If we want to match a specific character in a line, we enclose it in square brackets, such regular expressions are generally called a bracket expression. It matches any one of the characters that is within the square brackets. The order of the characters does not matter. For example, '[APz]' will match any one of the 'A', 'P', or 'z' characters in a string.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required