1、换行替换
m_stBossHeadMovie\.gotoAndStop\((.*)\);(\r\s*?)m_stBossNameText.text =(.*?;.*)
替换字符串
iFrameID = \1;\n\2strBossName =\3
例:
替换前
m_stBossHeadMovie.gotoAndStop(22);
m_stBossNameText.text = "绿巨人";
替换后
iFrameID = 22;
strBossName = "绿巨人";
1、换行替换
m_stBossHeadMovie\.gotoAndStop\((.*)\);(\r\s*?)m_stBossNameText.text =(.*?;.*)
替换字符串
iFrameID = \1;\n\2strBossName =\3
例:
替换前
m_stBossHeadMovie.gotoAndStop(22);
m_stBossNameText.text = "绿巨人";
替换后
iFrameID = 22;
strBossName = "绿巨人";