Text Pattern Tool: Extract, Keep, Remove, Highlight or Count
Paste text, pick an operation and a kind of item such as digits, emojis, IP addresses, hashtags, brackets or about 70 more, and extract, keep, remove, highlight or count them.
- Free
- No sign-up
- Works on any device
About Text Pattern Tool: Extract, Keep, Remove, Highlight or Count
Many text jobs are the same job with a different target: pull out every number, strip all vowels, keep only the digits, count the hashtags. This tool combines five operations (extract, keep only, remove, highlight, count) with about seventy kinds of item, including letters, digits, punctuation, emojis, words of a given length, acronyms, dates, emails, URLs, IP addresses, hex colours, HTML tags and bracketed text. Switch to whole-line mode to behave like grep, or add your own text or regular expression. Results update as you type.
How to use Text Pattern Tool: Extract, Keep, Remove, Highlight or Count
- Paste your text and pick an operation.
- Choose the kind of item to look for, or type your own text or regular expression.
- Read the result, copy it, or switch to whole-line mode to work on lines instead of matches.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
Also known as
Frequently asked questions
What is the difference between extract and keep only?
Extract lists each match on its own line. Keep only deletes everything that is not a match but keeps your line breaks, so the structure of the text stays recognisable.
How do I search for a pattern of my own?
Choose a custom kind, then type exact text or a regular expression. An invalid expression shows a short message instead of an error.
Can it work on whole lines like grep?
Yes. Set Work on to whole lines that contain a match. Extract and keep then return those lines, remove drops them, and count tells you how many lines matched.
Is Text Pattern Tool: Extract, Keep, Remove, Highlight or Count free?
Yes. Text Pattern Tool: Extract, Keep, Remove, Highlight or Count on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.