Extract text before "-" in text with Regex

I want to extract any text before"-" in a text.

Example: In “ID-12345” I want “ID”

Not sure how to do it.

Any help is appreciated

With the new “split by” feature, you should not use regex anymore. Just use :split by - :first item

4 Likes

Thank You @Jici

1 Like