I need a function that seperates a word from everything other in the line
-
For example, Line1 “gamertag: johnny51 you can add me here”
After a function I would like to only to see
Line 1 “johnny51”Is this even possible? If it is, I could really use some help. Thanks everybody.
-
If you are searching for the same words every time, just search for, “gamertag: johnny51 you can add me here” and replace it with, “johnny51” in the normal mode. If the words are different, let us know, you will need a Regular Expression for it.
-
@Milan-Djukanovic It’s tough to be sure just what you want to match, and what to exclude. Match a specific name? any string after “gamertag”?
It would be helpful if you showed several lines, such as:
gamertag: johnny51 you can add me here gamertag: johnny51 you can add me there johnny51 you can add me here gamertag: johnny52 you can add me here zamertag: johnny51 you can add me here zamertag: johnny52 you can add me hereand stated clearly which lines should and shouldn’t match, and what the lines should look like after the desired operation. (Also it’s nicer to read text inside a “code” box like I used above; use the 5th edit window button).
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