rematch

Uses a regular expression (RE) to search a string for a pattern, starting from a specified position.

rematch(reg_expression, string) → returns Array

rematch Function Argument Reference

Name Required Default Description
reg_expression Yes Regular expression for which to search. Case sensitive.
string Yes A string or a variable that contains one. String in which to search.

Fork me on GitHub