Regex Search and Replace

What is the feature or ability you would like to have?
Ability to search and replace using regex.
Use case - Recordbox generated tags → comments, which looks like this:
8 - {existing comment} /* #TAG, #TAG2, #TAG3 */

I would like the ability to match the regex \/\* .+ \*\/ in order to remove the comment section, while leaving original comments intact.

How will this feature help you and others?
There are often fuzzy matches that need to be resolved, normalized, or removed. Even a limited scope regex search would help… Doesn’t even need to be regex… Could simply be a wildcard search

Is this feature available in an existing product? If so, what product?

Does a workaround currently exist?
Not in lexicon.

I kept this out of Lexicon because it is very easy to break your library with regexes or even cause Lexicon to freeze.

But you can achieve what you want by using the Split Field recipe on /* and just discard the second half.

Fair enough, I am well aware of the risks of pure regex, however a wildcard search and replace would still be excellent.

1 Like