For example:
Hello, my name is Bob
Hello, my name is Mary
Hello, my name is Steve
END
How can I replace "Hello, my name is ", but stop at the word END?
For example:
Hello, my name is Bob
Hello, my name is Mary
Hello, my name is Steve
END
How can I replace "Hello, my name is ", but stop at the word END?
Copyright © 2021 Jogjafile Inc.
You can use a positive lookahead to make sure
END
is followed after your pattern using this regex:RegEx Demo