0

This is the text:


#### created_at
"2008-08-12 08:02:16 KST"

[link](https://twitter.com/JakeWharton/status/884632224"

The result should be:


#### created_at
"2008-08-12 08:02:16 KST"

[link](https://twitter.com/JakeWharton/status/884632224)

That is, I need to replace a string from a line for only the lines containing a specific string with Regex (in this case, string is " and the line is the line containing a specific string link keyword)

I am using Visual Studio Code.

shire
  • 43
  • 5
  • 2
    It looks like you are looking to create a regex, but do not know where to get started. Please check [Reference - What does this regex mean](https://stackoverflow.com/questions/22937618) resource, it has plenty of hints. Also, refer to [Learning Regular Expressions](https://stackoverflow.com/questions/4736) post for some basic regex info. Once you get some expression ready and still have issues with the solution, please edit the question with the latest details and we'll be glad to help you fix the problem. – Wiktor Stribiżew Feb 17 '21 at 21:58

0 Answers0