SOLVED
replace the string using wild card
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
Payal1
7 - Meteor
‎06-19-2018
12:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I want to replace the string that starts with " (5" and has 7 characters and ends with ")"
e.g. " (5??????) "
Thanks,
Solved! Go to Solution.
Labels:
- Labels:
- Topic of Interest
3 REPLIES 3
cmcclellan
14 - Magnetar
‎06-19-2018
02:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You can use the REGEX_REPLACE function in a formula tool, or the RegEx tool itself
When you find (5??????) what do you want to replace it with ?
danrh
13 - Pulsar
‎06-20-2018
04:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Adding examples for what @cmcclellan suggested:
REGEX_Replace([Field1], '\(5.{7}\)', 'NewText')
Or, if you want to use the RegEx tool:
‎06-20-2018
12:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
It worked, Thank you
