>> English << | česky | Deutsch | Español ZVON > Tutorials > Regular Expressions Tutorial
>> Example 7 << | Prev | Next | Contents | Regular Expressions

Description


Inside square brackets "[]" a list of characters can be provided. The expression matches if any of these characters is found. The order of characters is insignificant.(Case 3)

Source


How do you do?

Case 1


Regular Expression: [oyu]
First match:How do you do?
All matches:How do you do?

Case 2


Regular Expression: [dH].
First match:How do you do?
All matches:How do you do?

Case 3


Regular Expression: [owy][yow]
First match:How do you do?
All matches:How do you do?