I have a scrambled text with many codes with 8 numbers each, started with 403. How to extract only these codes from the text?
-
There is no more than 1 of these codes per line. If I were able to manage to keep the whole line of text in which this code is in, it would be even better but its not needed.
I guess something that would delete every line without such code would be enough.
-
If you want help with a search/replace problem, you need to give us more to go on than that. Best practice is to include a half-dozen to a couple-dozen lines of example “before” and “after” text (using the
</>button to put them in text boxes) – make sure if there’s sensitive/confidential info that you use dummy data that looks like the original (formatted the same, same combos of numbers vs letters, etc) but doesn’t reveal your secrets. Also make sure that your examples show some things that should match and some that don’t.See the Template for Search/Replace Questions, linked below, for more of how to ask such questions.
-—
Useful References
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login