A
A
Anton Vertov2018-07-20 09:16:48
Regular Expressions
Anton Vertov, 2018-07-20 09:16:48

How to delete text in a string from the beginning of a word to the end of another?

Good day, please help.
I have many lines that start with the word Flag and end with .svg, I need to specifically remove this text from each line that is between these words and these words too.
Please help me how to write a regular expression?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2018-07-20
@1Frosty

Search pattern: Flag[^\n]+\.svg
Leave the replacement string empty.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question