This tool extracts percentages (numbers followed by a "%" symbol) from your text. It provides flexible options so you can extract every percentage found, extract only percentages matching specified substrings, extract all except those containing specified substrings, or format the extracted percentages using a custom format.
Examples:
Extract All Percentages
Extracts every percentage from the text.
Before:
The discount is 20% and the tax rate is 7.5%.
After:
20% 7.5%
Extract Only Percentages Matching Specified Substrings
Extracts only percentages containing the specified substring (e.g., "7").
Before:
The discount is 20% and the tax rate is 7.5%.
After (specifying "7"):
7.5%
Extract All Except Percentages Containing Specified Substrings
Extracts every percentage except those containing the specified substring (e.g., "20").
Before:
The discount is 20% and the tax rate is 7.5%.
After (excluding "20"):
7.5%
Extract Percentages with Custom Format
Formats each extracted percentage using the custom format.
Before:
Final price includes a 15% discount.
After (format "[{percentage}]"):
[15%]