Regex Match all characters between two strings

后端 未结 14 1059
星月不相逢
星月不相逢 2020-11-21 07:42

Example: \"This is just\\na simple sentence\".

I want to match every character between \"This is\" and \"sentence\". Line breaks should be ignored. I can\'t figure o

14条回答
  •  春和景丽
    2020-11-21 08:05

    This worked for me (I'm using VS Code):

    for: This is just\na simple sentence

    Use: This .+ sentence

提交回复
热议问题