我有以下字符串: somestring = "Zero function argument 1 since code 345 and from code 8476 then it goes on" 我想删除since code 345和from code 8476 (这些数字可能会有所不同),但我想将argument 1中的1保留在字符串中。somestring.split(" ")print([re.sub(pattern,
我需要根据模式在Server数据库中删除一个子字符串:后:Winter_115BPM以前:cpx_Note In My Calendar_QZ6P91707044后:cpx_Note In My Calendar
基本上删除具有模式_ + 12 chars的子字符串。我尝试过PatIndex('_\S{12}', myCol)来获取子</e