This tool extracts phone numbers from your text in various common formats (e.g., (123) 456-7890, 123-456-7890, 123.456.7890, +1 (123) 456-7890). It lets you extract all phone numbers, only those matching specified substrings, all except those containing specified substrings, or display them using a custom format. Simply enter your text and select the desired extraction mode.
Examples:
Extract All Phone Numbers
Extracts every phone number from the text.
Before:
Call us at (123) 456-7890, 123-456-7890, or +1 (123) 456-7890.
After:
(123) 456-7890 123-456-7890 +1 (123) 456-7890
Extract Only Phone Numbers Matching Specified Substrings
Extracts only phone numbers containing the specified substring (e.g., "123").
Before:
Call us at (123) 456-7890 and 987-654-3210.
After (specifying "123"):
(123) 456-7890
Extract All Except Phone Numbers Containing Specified Substrings
Extracts every phone number except those containing the specified substring (e.g., "987").
Before:
Call us at (123) 456-7890 and 987-654-3210.
After (excluding "987"):
(123) 456-7890
Extract Phone Numbers with Custom Format
Formats each extracted phone number using the custom format.
Before:
Final contact: 555.123.4567.
After (format "[{phone}]"):
[555.123.4567]