D
D
dienerie2020-11-25 18:23:13
Regular Expressions
dienerie, 2020-11-25 18:23:13

How to define content in a regular expression?

There is a line like

- ChangingName - Text_to_be_counted - 100 Here is the ChangingName to be cut out together with a
dash
Leave only Text_to_to be_counted

-
100 And how to ask it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dollar, 2020-11-25
@dienerie

-[^-]*-(.*)-\s?100
https://regex101.com/r/dZwLUU/1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question