Extract words containing special characters

Please log in or register to do it.

This tool extracts words containing special characters from your text. A word is defined as any sequence of non‑whitespace characters, and this tool filters out only those words that include at least one special character (i.e. a character that is not a letter, digit, or underscore). It provides flexible options so you can: • Extract every word that contains any special character. • Extract only words that contain specified special character(s) (e.g., @, #, $, %). • Extract all words containing special characters except those that include specified special character(s) (e.g., &, *). • Format each extracted word using a custom format. Simply enter your text and select the extraction mode that suits your needs.

Extraction Modes:


Extracts every word that contains at least one special character.

Extracts only the words that contain the specified special character(s). Enter a comma‑separated list (e.g., @, #, $, %).

Extracts every word with special characters except those that contain the specified special character(s). Enter a comma‑separated list (e.g., &, *).

Formats each extracted word using a custom format. Use {word} as a placeholder for the extracted word.

Examples:

Extract All Words Containing Special Characters

Extracts every word that contains any special character.

Before:
Hello, my email is test@example.com and my website is www.example-site.com.
After:
test@example.com
www.example-site.com

Extract Only Words Containing Specified Special Characters

Only extracts words that contain the specified special characters (e.g., "@" and "-").

Before:
Contact: support@example.com or visit www.example-site.com for info.
After (specifying "@" and "-"):
support@example.com
www.example-site.com

Extract All Except Words Containing Specified Special Characters

Extracts words with special characters but excludes those containing the specified special character(s) (e.g., "-").

Before:
Visit test@example.com and www.example-site.com for details.
After (excluding "-"):
test@example.com

Extract Words with Custom Format

Each extracted word is formatted using a custom format.

Before:
Please check test@example.com.
After (format "[{word}]"):
[test@example.com]
Extract only email usernames
Convert tabs into spaces in code formatting

Your email address will not be published. Required fields are marked *