S
S
Skripich2019-09-18 23:18:17
excel
Skripich, 2019-09-18 23:18:17

How to make a regular expression "find everything up to the FIRST character, ignoring the rest"?

For example, here is the text: apple|orange|pear|cherry
It is necessary to delete everything from the beginning to the FIRST character |, that is, our text should eventually look like this: orange|pear|cherry .
How to do it with a regular expression? In the same Libreoffice, for example.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vreitech, 2019-09-18
@Skripich

s/[^|]*\|//
https://regex101.com/r/6WJVFU/1
5d829500571a1852250802.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question