regex.test(string) |
returns bool |
string.match(regex) |
returns regex from string w/ extract, index and input |
string.replace(regex, input) |
replaces regex in string with input (can be function or string) |
string.replace(regex, '$a $b') |
a & b can be capture groups from regex |
Comments
Related