regexp_find(string, pattern [,start])

Find the start and end position of a pattern within a string. If no match is found, regexp_find returns 0.

Examples

start, stop = regexp_find("the quick brown fox", "b[a-z]*")