我有一个像这样的字符串:
{
{ SomeTextNoQuotes, "Some Text's", "Some Text" },
{ SomeTextNoQuotes, "Some Text's", "Some Text" },
{ SomeTextNoQuotes, "Some Text's", "Some Text" },
{ SomeTextNoQuotes, "Some Text's", "Some Text" },
{ SomeTextNoQuotes, "Some Text's", "Some Text" },
}
如何匹配, "Some Text"
每一行的最后一行,就在}
? 顺便说一句,这是我正在尝试做的 Sublime Text。这些值并不一致,就像我在这里一样,我有几百行要替换。
我试过, ".*"
但匹配, "Some Text's, "Some Text"
。