regex.extractAll

regex.extractAll(string, pattern)

Returns a list containing all the non-overlapping matches of the pattern in the string. If the pattern contains more than one group, returns a list of lists containing the groups in order.

Was this page helpful? Yes No Submitting... Thank you

Comments