Extracting Specifc data from string
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
arfaatmemon
5 - Atom
04-20-2025
01:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I am trying to extract specific values from string, is there
any way to get specific word + preceeding and following characters from a string?
Eg: Column 1:- thisisthebestcommunity
Column 2:- best
Column 3 (Output/answer) :- thebestcomm
Here I am looking out to extract the word 'best' from the string + preceeding 3 letters (the) and following 4 letters (comm) giving me the output as "thebestcomm"
Thanks!!
Labels:
- Labels:
- Help
2 REPLIES 2
17 - Castor
04-20-2025
02:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @arfaatmemon, there's a few ways to do this. One of them is using a RegEx tool in Parse mode, with the following expression:
(\w{3}best\w{4})
flying008
15 - Aurora
04-20-2025
05:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

