You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import PhoneNumberMatcher from './PhoneNumberMatcher.js'
|
|
|
|
export default function findNumbers(text, options, metadata) {
|
|
const matcher = new PhoneNumberMatcher(text, options, metadata)
|
|
const results = []
|
|
while (matcher.hasNext()) {
|
|
results.push(matcher.next())
|
|
}
|
|
return results
|
|
} |