regex with kotlin code example
Example: kotlin regex
"my string".matches(Regex("[a-z]+ [a-z]+")) // true
"my string".matches(Regex("my")) // false: must match whole string
"my string".matches(Regex("[a-z]+ [a-z]+")) // true
"my string".matches(Regex("my")) // false: must match whole string