# .contains

String.contains("pattern") - true if the string contains the quote-enclosed regular expression "pattern", which may be a regular expression or a string literal. Matches are case-sensitive. The pattern should always be enclosed in quotes. If $Text contains the string “Asia”, then:

`$Text.contains("Asia")` | true, since the text contains "Asia"
`$Text.contains("s.a")` | true, since the text contains an "s" which is followed by a character followed by an "a".

If a match is found, the actual matching text is bound to $0.

If the regular expression contains parenthesized sub-expressions, the matching sub-expressions are bound in order to $1…$99.