# Extract Phone Numbers from Text

**Use case:** 

Find phone numbers in text and save each match in an Apify dataset.

## Input

```json
{
  "target": "texts",
  "texts": [
    "Call +1 (415) 555-0134 or 020 7946 0958."
  ],
  "datasetTextField": "text",
  "matchMode": "all"
}
```

## Output

```json
{
  "text": {
    "label": "Text",
    "format": "string"
  },
  "matchCount": {
    "label": "Match count",
    "format": "integer"
  },
  "matchesByPattern": {
    "label": "Matches by pattern",
    "format": "object"
  }
}
```

## About this Actor

This example demonstrates how to use [Regex Helper](https://apify.com/maximedupre/regex-helper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/regex-helper) to learn more, explore other use cases, and run it yourself.