正则表达式如何替换(删除) 两边?
本帖最后由 冥界3大法王 于 2021-1-25 10:53 编辑当前所用的正则表达式:(?<=\?)\w*(?=@)
中间橙色区域是我想要的!
(即:修改正则表达式,替换掉画框中的两边){:301_1003:}
要求:
1.必须修改我原先的正则表达式(因为原来的程序部分需要用)
2.替换掉2边
以下测试用内容:
<mmapplicationframework.??0CmjVersion@@QAE@II@Z>
<mmapplicationframework.?HasCompletedColorAttribute@CmjTaskAutomationAttributes@@2QB_WB>
<mmapplicationframework.?CompletedColorAttribute@CmjTaskAutomationAttributes@@2QB_WB>
<mmapplicationframework.?HasPastDueColorAttribute@CmjTaskAutomationAttributes@@2QB_WB>
<mmapplicationframework.?PastDueColorAttribute@CmjTaskAutomationAttributes@@2QB_WB>
<mmapplicationframework.?HasAtRiskColorAttribute@CmjTaskAutomationAttributes@@2QB_WB>
<mmapplicationframework.?AtRiskColorAttribute@CmjTaskAutomationAttributes@@2QB_WB>
<mmapplicationframework.?RegisterCreator@CmjComRefFactory@@SA_NW4EmjComClassRuntimeId@@P6APAVCmjComObjectReferenceBase@@PAX@Z@Z>
<mmxml.??0CmjXmlName@@QAE@PB_W0@Z>
<mmapplicationframework.?GetContributorPermissions@CmjIndexViewUtilities@@SA?AW4EmjContributorPermissions@@PAVCmjView@@@Z>
<mmutilities.??0MarginF@@QAE@MMMM@Z>
<mmxml.??0CmjXmlSchemaComplexTypeMap@@QAE@ABVCmjXmlName@@PAUCRuntimeClass@@W4EmjXmlNodeTypeToRegister@@@Z>
<mmxml.??0CmjXmlSchemaGlobalElementMap@@QAE@ABVCmjXmlName@@PBVCmjXmlSchemaTypeMap@@@Z>
<mmxml.??0CmjXmlSchemaSimpleTypeMap@@QAE@ABVCmjXmlName@@PAUCRuntimeClass@@W4EmjXmlNodeTypeToRegister@@@Z>
<mmapplicationframework.?GetAppOptions@CmjApplicationOptions@@SAPAV1@XZ>
<mmapplicationframework.?GetImageLibraryIconHeightMedium@CmjApplicationOptions@@QBEHXZ>
<mmapplicationframework.?GetImageLibraryIconWidthLarge@CmjApplicationOptions@@QBEHXZ>
<mmapplicationframework.??0CmjBackgroundObjectPartSelector@@QAE@PAVCmjMapDocument@@@Z>
<mmapplicationframework.??1CmjBackgroundObjectPartSelector@@UAE@XZ>
<mmapplicationframework.?GetActiveView@CmjMapDocument@@QAEPAVCmjView@@XZ>
<mmdatamodel.?FindDataModelObjectById@CmjDataModelHost@@QAEPAVCmjDataModelObject@@ABVCmjId@@@Z>
<mmdatamodel.?GetThisClass@CmjBackgroundObject@@SGPAUCRuntimeClass@@XZ>
<mmutilities.??4CmjCellIndex@@QAEAAV0@ABV0@@Z>
<mmapplicationframework.??0CmjBusinessDataAutoFitManagerHost@@QAE@XZ>
<mmapplicationframework.?GetDocumentGroupProperty@CmjMapDocument@@QAEPAVCmjDocumentGroupProperty@@XZ>
<mmdatamodel.?GetLayoutOptionsProperty@CmjDocumentGroupProperty@@QAEPAVCmjLayoutOptionsProperty@@XZ>
<mmdatamodel.?GetStartDateColumnWidth@CmjGanttViewProperty@@QAEKXZ>
<mmapplicationframework.?GetShowLargeIcons@CmjApplicationOptions@@QBE_NXZ>
<mmapplicationframework.??1CmjBusinessDataAutoFitManagerHost@@UAE@XZ>
<mmdatamodel.?CreateDataModelObjectCollection@CmjDataModelHost@@QAEPAVCmjDataModelObjectCollection@@XZ>
<mmcommands.??0CmjBusinessDataAutoFitCommand@@QAE@PAVCmjMapDocument@@PAVCmjDataModelObjectCollection@@@Z>
<mmcommands.?SetFixOnly@CmjBusinessDataAutoFitCommand@@QAEX_N@Z>
<mmcommands.?SetForceCacheUpdate@CmjBusinessDataAutoFitCommand@@QAEX_N@Z>
<mmapplicationframework.?ExecuteOnDocument@CmjDocumentBaseCommand@@UAEXXZ>
<mmcommands.??1CmjRepackageAttachmentCommand@@UAE@XZ>
<mmdatamodel.??0CmjId@@QAE@ABV0@@Z>
<mmdatamodel.?GetThisClass@CmjTopic@@SGPAUCRuntimeClass@@XZ>
<mmcommands.??0CmjBusinessDataAutoFitCommand@@QAE@PAVCmjMapDocument@@PAVCmjDataModelObject@@@Z>
<mmdatamodel.?OnDeltaCompleted@CmjDefaultDataModelHost@@UAEXXZ>
<mmdatamodel.?GetClassSchemaTypeMap@CmjTopic@@SAPBVCmjXmlSchemaTypeMap@@XZ>
<mmdatamodel.?CreateDataModelObjectCollectionOfType@CmjDataModelHost@@QAEPAVCmjDataModelObjectCollection@@PBVCmjXmlSchemaTypeMap@@@Z>
<mmdatamodel.?GetHeadPosition@?$CmjCollection@VCmjDataModelObject@@@@QBEPAU__POSITION@@XZ>
<mmdatamodel.?GetNext@?$CmjCollection@VCmjDataModelObject@@@@QBEPAVCmjDataModelObject@@AAPAU__POSITION@@@Z>
<mmdatamodel.?GetFormulasProperty@CmjTopic@@QAEPAVCmjFormulasProperty@@XZ>
<mmdatamodel.?GetFormulasCount@CmjFormulasProperty@@QAEIXZ>
<mmdatamodel.??8CmjId@@QBE_NABV0@@Z>
<mmevents.?GetSource@CmjEvent@@QAEPAVCObject@@XZ>
<mmapplicationframework.?GetAutoSpell@CmjApplication@@QAEPAVCmjAutoSpell@@XZ>
<mmapplicationframework.?IsInUndoRedoExecution@CmjCommandProcessor@@QAE_NXZ>
<mmapplicationframework.?IsInExternalCommandExecution@CmjCommandProcessor@@QAE_NXZ>
<mmdatamodel.?GetThisClass@CmjAttributeBoxBusinessDataProperty@@SGPAUCRuntimeClass@@XZ>
<mmdatamodel.?IsReflectorProperty@CmjDataModelValueProperty@@QAE_NXZ>
<mmapplicationframework.?IsAttributeBoxBusinessTopicPopulated@CmjAttributeBoxUtilities@@SA_NPAVCmjTopic@@@Z>
<mmdatamodel.?GetBusinessDataGroupProperty@CmjTopic@@QAEPAVCmjBusinessDataGroupProperty@@XZ>
<mmdatamodel.?GetBusinessDataProperty@CmjBusinessDataGroupProperty@@QAEPAVCmjBusinessDataProperty@@XZ>
<mmdatamodel.?CanEditProperties@CmjModifiedProtectedProperty@@QAE_NXZ>
<mmdatamodel.?GetConditionalRuleFormulaText@CmjConditionalRule@@QAEABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@XZ>
<mmdatamodel.?GetThisClass@CmjLayoutOptionsProperty@@SGPAUCRuntimeClass@@XZ>
<mmapplicationframework.?GetMaximumTextLength@CmjAttributeDefinition@@QAEJXZ>
<mmevents.?cDefaultOrder@CmjSubscription@@2HB>
<mmevents.?Subscribe@CmjEventPublisher@@QAEPAVCmjSubscription@@PAXP6AXPAVCmjEvent@@0@ZW4EmjEventId@@H@Z>
<mmapplicationframework.?GetApplication@CmjApplication@@SAAAV1@XZ>
<mmapplicationframework.?GetLabelPlacement@CmjTopicFrameCache@@QAE?AW4EmjTopicFrameLabelPlacement@@XZ>
<mmevents.?Unsubscribe@CmjEventPublisher@@QAEXPAXP6AXPAVCmjEvent@@0@Z@Z>
<mmapplicationframework.??0CmjNotesCache@@QAE@XZ>
<mmapplicationframework.??1CmjNotesCache@@UAE@XZ>
<mmapplicationframework.?GetThisClass@CmjNotesCache@@SGPAUCRuntimeClass@@XZ>
<mmcommands.??0CmjRemoveTopicCommand@@QAE@PAVCmjMapDocument@@_N@Z>
<mmcommands.??1CmjRemoveTopicCommand@@UAE@XZ>
<mmapplicationframework.?HasSlides@CmjSlideUtilities@@SA_NPAVCmjTopic@@_NPAV?$vector@V?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@V?$allocator@V?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@std@@@std@@@Z>
<mmapplicationframework.?IsLegacyDependencyIconTopic@CmjDataModelUtilities@@SA_NPAVCmjTopic@@@Z>
<mmmfcdialogs.??0CmjMfcMessageBox@@QAE@PAVCWnd@@ABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@1I_NI@Z>
<mmmfcdialogs.?SetButtonText@CmjMfcMessageBox@@QAEXHABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmmfcdialogs.?SetFloatingTopicText@CmjMfcDefaultTextDialog@@QAEXABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmutilities.?DoModal@CmjMfcEnhancedDialog@@UAEHXZ>
<mmmfcdialogs.?GetCheckBox@CmjMfcMessageBox@@QAE_NXZ>
<mmapplicationframework.?SetShowDeleteHiddenTopicsWarning@CmjApplicationOptions@@QAEX_N@Z>
<mmmfcdialogs.??1CmjMfcMessageBox@@UAE@XZ>
<mmapplicationframework.??0CmjTopicIteratorOptions@@QAE@IPAVCmjTopicFilter@@I@Z>
<mmapplicationframework.??0CmjTopicIterator@@QAE@PAVCmjTopic@@PBVCmjTopicIteratorOptions@@@Z>
<mmapplicationframework.?IsEmpty@?$CAtlMap@V?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@V12@V?$CStringElementTraits@V?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@2@V?$CElementTraits@V?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@AT>
<mmapplicationframework.??ECmjTopicIterator@@QAE?BV0@H@Z>
<mmapplicationframework.??DCmjVisibleTopicsIterator@@QBEPAVCmjTopic@@XZ>
<mmapplicationframework.??1CmjTopicIterator@@UAE@XZ>
<mmapplicationframework.?GetShowDeleteHiddenTopicsWarning@CmjApplicationOptions@@QBE_NXZ>
<mmcommands.??0CmjSelectionCommand@@QAE@PAVCmjMapDocument@@W4EmjTransactionMode@0@@Z>
<mmapplicationframework.?GetVisibleRootTopic@CmjMapDocument@@QAEPAVCmjTopic@@PAVCmjView@@@Z>
<mmcommands.?HasDataModelObject@CmjSelectionCommand@@QAE_NPAVCmjDataModelObject@@@Z>
<mmcommands.?RemoveDataModelObject@CmjSelectionCommand@@QAEXPAVCmjDataModelObject@@@Z>
<mmcommands.?GetDataModelObjectCount@CmjSelectionCommand@@QAEIXZ>
<mmcommands.?GetDataModelObjectAt@CmjSelectionCommand@@QAEPAVCmjDataModelObject@@I@Z>
<mmcommands.??1CmjSelectionCommand@@UAE@XZ>
<mmdatamodel.?GetBoundaryProperty@CmjTopic@@QAEPAVCmjBoundaryProperty@@XZ>
<mmdatamodel.?GetDefaultColorProperty@CmjBackgroundObjectDefaultsGroupProperty@@QAEPAVCmjColorProperty@@XZ>
<mmdatamodel.?GetSummaryTopic@CmjBoundary@@QAEPAVCmjTopic@@XZ>
<mmdatamodel.?GetRelationships@CmjDataModelObject@@QAEPAVCmjRelationshipCollection@@XZ>
<mmdatamodel.?GetFloatingTopics@CmjRelationship@@QAEPAVCmjTopicCollection@@XZ>
<mmcommands.??0CmjDocumentBaseCommandContainer@@QAE@PAVCmjDocumentBase@@_N@Z>
<mmcommands.?AddCommand@CmjDocumentBaseCommandContainer@@QAEXPAVCmjDocumentBaseCommand@@@Z>
<mmapplicationframework.?GetDisplayName@CmjCommand@@QAEABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@XZ>
<mmapplicationframework.?SetDescription@CmjApplicationErrorInfo@@QAEXABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmapplicationframework.?GetBoundingRectangle@CmjBackgroundObjectPartMapViewCache@@QBEABVRectF@Gdiplus@@XZ>
<mmapplicationframework.?SetMapGuid@CmjReminderData@@QAEXABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmcommands.??1CmjDocumentBaseCommandContainer@@UAE@XZ>
<mmutilities.??0CmjFocusKeeper@@QAE@XZ>
<mmapplicationframework.?IsEnabled@CmjDocumentBaseCommand@@UAE_NXZ>
<mmutilities.??1CmjFocusKeeper@@QAE@XZ>
<msvcp140.?_Xbad_alloc@std@@YAXXZ>
<msvcp140.?_Xlength_error@std@@YAXPBD@Z>
<mmapplicationframework.??0CmjDataModelObjectsSetManager@@QAE@PAVCmjMapDocument@@@Z>
<mmapplicationframework.?GetIndex@CmjView@@QAEKXZ>
<mmapplicationframework.??1CmjDataModelObjectsSetManager@@UAE@XZ>
<mmapplicationframework.?GetThisClass@CmjDataModelObjectsSetManager@@SGPAUCRuntimeClass@@XZ>
<mmapplicationframework.??0CmjDataModelObjectsSetResizeCalculator@@QAE@PAVCmjMapDocument@@@Z>
<mmapplicationframework.?GetHost@CmjApplicationFrameworkHost@@SAPAV1@XZ>
<mmapplicationframework.??1CmjDataModelObjectsSetResizeCalculator@@UAE@XZ>
<mmdatamodel.??BCmjId@@QBEABU_GUID@@XZ>
<mmapplicationframework.?HasVisibleTitles@CmjBackgroundObjectUtilities@@SA_NPAVCmjBackgroundObject@@_N@Z>
<mmapplicationframework.?CalcNonTransformedShapeBoundingRectangle@CmjBackgroundObjectUtilities@@SA?AVRectF@Gdiplus@@PAVCmjBackgroundObject@@K@Z>
<mmapplicationframework.?CalcNonTransformedBoundingRectangle@CmjBackgroundObjectUtilities@@SA?AVRectF@Gdiplus@@PAVCmjBackgroundObject@@K@Z>
<mmutilities.?Center@CmjMathUtilities@@SA?AVPointF@Gdiplus@@ABVRectF@3@@Z>
<mmutilities.?FloatsEqual@CmjMathUtilities@@SA_NMM@Z>
<mmutilities.?CenterRectangle@CmjMathUtilities@@SA?AVRectF@Gdiplus@@ABVPointF@3@ABVSizeF@3@@Z>
<mmapplicationframework.?BuildTransformationMatrix@CmjBackgroundObjectUtilities@@SA_NABVPointF@Gdiplus@@_N1MPAVMatrix@3@@Z>
<mmutilities.?CalculateTransformedRectBoundingRectangle@CmjMathUtilities@@SA?AVRectF@Gdiplus@@ABV23@ABVMatrix@3@@Z>
<msvcp140.?_Xout_of_range@std@@YAXPBD@Z>
<mmapplicationframework.?FlipTrackerPoint@CmjBackgroundObjectUtilities@@SA?AW4EmjBackgroundObjectHitInfo@@W42@_N1@Z>
<mmapplicationframework.?BuildTransformationMatrix@CmjBackgroundObjectUtilities@@SA_NABVRectF@Gdiplus@@_N1MPAVMatrix@3@@Z>
<mmxml.?Delete@CmjXmlSimpleNode@@QAEXXZ>
<mmdatamodel.?GetBackgroundObjectType@CmjBackgroundObject@@QAE?AW4EmjBackgroundObjectType@@XZ>
<mmdatamodel.?GetOrientation@CmjTitleGroupProperty@@QAE?AW4EmjOrientation@@XZ>
<mmdatamodel.?GetSwimlanesProperty@CmjBackgroundObject@@QAEPAVCmjSwimlanesProperty@@XZ>
<mmdatamodel.?UpdateSwimlanesSize@CmjSwimlanesProperty@@QAEXM@Z>
<mmdatamodel.?GetTableProperty@CmjBackgroundObject@@QAEPAVCmjTableProperty@@XZ>
<mmdatamodel.?UpdateCellsSize@CmjTableProperty@@QAEXMM@Z>
<mmapplicationframework.?SetLineWidth@CmjBackgroundObjectMapViewCache@@QAEXM@Z>
<mmapplicationframework.?BuildTransformationMatrix@CmjDataModelObjectsSetUtilities@@SA_NABVPointF@Gdiplus@@MPAVMatrix@3@@Z>
<mmapplicationframework.?GetView@CmjMapDocument@@QAEPAVCmjView@@K@Z>
<mmdatamodel.?GetRotateProperty@CmjDataModelObjectsSet@@QAEPAVCmjRotateProperty@@XZ>
<mmdatamodel.?GetWidth@CmjSizeProperty@@QAEMXZ>
<mmapplicationframework.?CalcNonTransformedBoundingRectangle@CmjDataModelObjectsSetUtilities@@SA?AVRectF@Gdiplus@@PAVCmjDataModelObjectsSet@@K@Z>
<mmapplicationframework.?CalcTransformedBoundingRectangle@CmjDataModelObjectsSetUtilities@@SA?AVRectF@Gdiplus@@PAVCmjDataModelObjectsSet@@K@Z>
<mmdatamodel.?CreateDataModelObjectCollection@CmjDataModelObjectsSet@@QAEPAVCmjDataModelObjectCollection@@XZ>
<mmdatamodel.?IsTextBackgroundObject@CmjBackgroundObject@@QAE_NXZ>
<mmdatamodel.?GetFlipProperty@CmjBackgroundObject@@QAEPAVCmjFlipProperty@@XZ>
<mmdatamodel.?GetIsReviewTopic@CmjTopicReviewProperty@@QAE_NXZ>
<mmdatamodel.?GetFaded@CmjVisibilityProperty@@QAE_NXZ>
<mmapplicationframework.?CalcTransformedBoundingRectangle@CmjBackgroundObjectUtilities@@SA?AVRectF@Gdiplus@@PAVCmjBackgroundObject@@ABV23@1@Z>
<mmapplicationframework.?GetThisClass@CmjDataModelObjectsSetResizeCalculator@@SGPAUCRuntimeClass@@XZ>
<mmapplicationframework.??0CmjDataModelObjectsSetRotateCalculator@@QAE@PAVCmjMapDocument@@@Z>
<mmapplicationframework.??1CmjDataModelObjectsSetRotateCalculator@@UAE@XZ>
<mmapplicationframework.?CalcTransformedBoundingRectangle@CmjBackgroundObjectUtilities@@SA?AVRectF@Gdiplus@@PAVCmjBackgroundObject@@K@Z>
<mmdatamodel.?GetRotateProperty@CmjBackgroundObject@@QAEPAVCmjRotateProperty@@XZ>
<mmapplicationframework.?GetThisClass@CmjDataModelObjectsSetRotateCalculator@@SGPAUCRuntimeClass@@XZ>
<mmapplicationframework.??0CmjDelayedOperation@@QAE@XZ>
<mmapplicationframework.??1CmjDelayedOperation@@UAE@XZ>
<mmutilities.??0SECFileSystem@@QAE@XZ>
<mmutilities.?DeleteFileW@SECFileSystem@@QAEHABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmutilities.??1SECFileSystem@@UAE@XZ>
<mmapplicationframework.?End@CmjDelayedOperation@@UAEX_N@Z>
<mmevents.?GetViewIndex@CmjSelectionChangedEvent@@QAEKXZ>
<mmevents.?GetUpdateImmideately@CmjDocumentUpdatesEnabledEvent@@QAE_NXZ>
<mmevents.?GetTitle@CmjLinkTitleModifiedEvent@@QBEABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@XZ>
<mmapplicationframework.?GetManager@CmjNetworkAwarenessManager@@SAPAV1@XZ>
<mmapplicationframework.?IsInternetConnected@CmjNetworkAwarenessManager@@SA_NXZ>
<mmcommands.?GetPrimaryTopic@CmjSelectionCommand@@QAEPAVCmjTopic@@XZ>
<mmapplicationframework.?GetTopicDisplayText@CmjDataModelUtilities@@SA?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@PAVCmjMapDocument@@PAVCmjTopic@@H_N@Z>
<mmdatamodel.?GetHyperlinkGroupProperty@CmjTopic@@QAEPAVCmjHyperlinkGroupProperty@@XZ>
<mmdatamodel.?GetHyperlinkCount@CmjHyperlinkGroupProperty@@QAEIXZ>
<mmdatamodel.?GetHyperlinkProperty@CmjTopic@@QAEPAVCmjHyperlinkProperty@@XZ>
<mmdatamodel.?GetSubject@CmjDescriptionProperty@@QAEABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@XZ>
<mmdatamodel.?GetNotesGroupProperty@CmjTopic@@QAEPAVCmjNotesGroupProperty@@XZ>
<mmdatamodel.?IsNotesEmpty@CmjNotesGroupProperty@@QAE_NXZ>
<mmdatamodel.?GetAttachmentGroupProperty@CmjTopic@@QAEPAVCmjAttachmentGroupProperty@@XZ>
<mmdatamodel.?IsAttachmentsEmpty@CmjAttachmentGroupProperty@@QAE_NXZ>
<mmcommands.??0CmjOpenAttachmentCommand@@QAE@PAVCmjMapDocument@@PAVCmjTopic@@I@Z>
<mmcommands.?SetRemoveExistingResources@CmjMapMarkerCommand@@QAEX_N@Z>
<mmcommands.?GetAttachmentPath@CmjOpenAttachmentCommand@@QAE?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@XZ>
<mmutilities.?GetTempFilename@CmjPathUtilities@@SA?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@PB_WABV23@_N@Z>
<mmutilities.?CopyFileW@SECFileSystem@@QAEHABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@0KPB_W@Z>
<mmutilities.?FileWithExtensionFromFilename@CmjPathUtilities@@SA?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@ABV23@@Z>
<mmcommands.??1CmjOpenAttachmentCommand@@UAE@XZ>
<mmapplicationframework.?GetMetadataSaver@CmjDocumentImpl@@QAEPAVCmjMetadataSaver@@XZ>
<mmapplicationframework.?GetPromptConditionManager@CmjApplication@@QAEPAVCmjPromptConditionManager@@XZ>
<mmapplicationframework.?HandleError@CmjRemoteFilePlace@@QAEXABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@0@Z>
<mmmfcdialogs.?SetScreenView@CmjMfcMessageBox@@QAEXABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmapplicationframework.?IsConnectionPossible@CmjRemoteFilePlace@@QAE_NXZ>
<mmapplicationframework.?GetRemoteType@CmjRemoteFileConnection@@QAE?AW4EmjRemoteProtocols@@XZ>
<mmapplicationframework.?GetHostDocument@CmjMapDocument@@QAEPAVCmjHostDocument@@XZ>
<mmapplicationframework.?GetDocument@CmjDataModelHostDefaultImpl@@IAEPAVCmjDocumentBase@@XZ>
<mmapplicationframework.?SetReadOnly@CmjDocumentBase@@QAEX_N@Z>
<mmmfcdialogs.??0CmjMfcRemoteFileProgressDialog@@QAE@PAVCmjRemoteProgressHost@@@Z>
<mmapplicationframework.??1CmjObjectModelCommand@@UAE@XZ>
<mmapplicationframework.??1CmjMapCommand@@UAE@XZ>
<mmmfcdialogs.??1CmjMfcRemoteFileProgressDialog@@UAE@XZ>
<mmapplicationframework.??1CmjRemoteFileConnection@@UAE@XZ>
<mmapplicationframework.?GetFileName@CmjMapDocument@@QAEABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@XZ>
<mmevents.??0CmjDocumentSavedEvent@@QAE@W4EmjEventContext@@PAVCObject@@ABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@_N@Z>
<mmapplicationframework.?OnWorkspaceDocumentEvent@CmjApplication@@QAEXPAVCmjEvent@@@Z>
<mmevents.??1CmjDocumentSavedEvent@@UAE@XZ>
<mmapplicationframework.?GetBridge@CmjRemoteFilePlace@@QAEPAVCmjRemoteFileBridge@@XZ>
<mmevents.?SetIsExpired@CmjApplicationStateChangedEvent@@QAEX_N@Z>
<mmevents.?IsMergeableCommand@CmjCommandProcessedEvent@@QAE_NXZ>
<mmapplicationframework.?IsSaveAsCopy@CmjMmPathUtilities@@SA_NPAVCmjMapDocument@@ABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmapplicationframework.?IsMmLockAndCoeditPossible@CmjRemoteFilePlace@@QAE_NXZ>
<mmapplicationframework.?GetDesktopServerId@CmjRemoteFilePlace@@QAE?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@ABV23@@Z>
<mmapplicationframework.?GetWrapText@CmjCellFormatDefinition@@QAE_NXZ>
<mmapplicationframework.?GetCommandEventContext@CmjCommandProcessor@@QAE?AW4EmjEventContext@@XZ>
<mmapplicationframework.?GetPriority@CmjApplicationTransformationTemplate@@QAEKXZ>
<mmapplicationframework.?FindMapDocumentByRemoteId@CmjApplicationUtilities@@SAPAVCmjMapDocument@@ABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@W4EmjRemoteProtocols@@@Z>
<mmapplicationframework.?HasActiveView@CmjMapDocument@@QAE_NXZ>
<mmapplicationframework.?GetFormat@CmjCellFormatDefinition@@QAE?BW4EmjTableDataValueFormat@@XZ>
<mmapplicationframework.?IsLoggedIn@CmjRemoteFilePlace@@QAE_NXZ>
<mmapplicationframework.?Login@CmjRemoteFilePlace@@QAE_NPAVCWnd@@@Z>
<mmmfcdialogs.?Create@CmjMfcRemoteFileProgressDialog@@QAEHXZ>
<mmmfcdialogs.?SetCaption@CmjMfcRemoteFileProgressDialog@@QAEXABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmapplicationframework.?GetCompressCloudImages@CmjApplicationOptions@@QAE_NXZ>
<mmcommands.??0CmjCompressImagesCommand@@QAE@PAVCmjMapDocument@@PAVCmjDataModelObjectCollection@@@Z>
<mmcommands.?SetIsSnapped@CmjSnapFloatingTopicCommand@@QAEX_N@Z>
<mmcommands.??1CmjCompressImagesCommand@@UAE@XZ>
<mmutilities.?GetExtensionFromFileName@CmjPathUtilities@@SA?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@ABV23@@Z>
<mmutilities.?ReplaceExtension@CmjPathUtilities@@SA?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@ABV23@0@Z>
<mmapplicationframework.?GetFileCachePath@CmjRemoteFilePlace@@QAE?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@ABV23@V23@_N@Z>
<mmapplicationframework.?IsRemoteDocument@CmjMapDocument@@QAE_NXZ>
<mmapplicationframework.?GetManager@CmjRemoteFileManager@@SAPAV1@XZ>
<mmapplicationframework.?DeleteCachePath@CmjRemoteFileManager@@QAEXABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmapplicationframework.?SetFileName@CmjMapDocument@@QAEXABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmapplicationframework.??0CmjRemoteFileConnection@@QAE@PAVCmjRemoteFilePlace@@ABUSmjRemoteFileInfo@@ABUSmjRemoteMmLockInfo@@@Z>
<mmapplicationframework.?SetRemoteConnection@CmjMapDocument@@QAEXPAVCmjRemoteFileConnection@@@Z>
<mmapplicationframework.?Init@CmjRemoteFileConnection@@QAEXPAVCmjMapDocument@@_N@Z>
<mmapplicationframework.?ShareFile@CmjRemoteFileConnection@@QAEXXZ>
<mmapplicationframework.?GetPlaceById@CmjRemoteFileManager@@QAEPAVCmjRemoteFilePlace@@ABVCmjId@@@Z>
<mmutilities.?Format@CmjStringUtilities@@SA?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@PB_WZZ>
<mmapplicationframework.?GetFileImportFilterHandler@CmjFileDialogUtilities@@SAPAVCmjImportHandler@@ABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@HPAPAVCmjFileImportInfo@@@Z>
<mmutilities.?AppendToPath@CmjPathUtilities@@SA?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@ABV23@0@Z>
<mmcommands.??1CmjObjectCollectionCommand@@UAE@XZ>
<mmdatamodel.??BCmjId@@QBEKXZ>
<mmdatamodel.??4CmjId@@QAEAAV0@ABV0@@Z>
<mmdatamodel.??0CmjDataModelObjectCollection@@QAE@XZ>
<mmdatamodel.?AddTail@?$CmjCollection@VCmjTaskPriorityMarker@@@@QAEPAU__POSITION@@PAVCmjTaskPriorityMarker@@@Z>
<mmapplicationframework.?GetPrefixSize@CmjTopicMapViewCache@@QAEABVSizeF@Gdiplus@@XZ>
<mmdatamodel.??1CmjDataModelObjectCollection@@UAE@XZ>
<mmdatamodel.??0CmjId@@QAE@XZ>
<mmapplicationframework.?GetShowZapierReceiverMessage@CmjApplicationOptions@@QAE_NXZ>
<mmapplicationframework.?SetShowZapierReceiverMessage@CmjApplicationOptions@@QAEX_N@Z>
<mmapplicationframework.?GetBusinessTypeUri@CmjBusinessTypeUtilities@@SA?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@PAVCmjTopic@@@Z>
<mmutilities.?FileExists@SECFileSystem@@QAEHABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmutilities.?RenameFile@SECFileSystem@@QAEHABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@0@Z>
<mmapplicationframework.?GetUrl@CmjRemoteFileUtilities@@SA?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@W4EmjRemoteProtocols@@ABUSmjRemoteFileInfo@@_NABVCmjId@@@Z>
<mmapplicationframework.?GetEditDmsOffline@CmjApplicationOptions@@QBE_NXZ>
<mmapplicationframework.?IsFileCheckedOutInOfficeRegistry@CmjRemoteFileManager@@QAE_NV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmutilities.?AddExtension@CmjPathUtilities@@SA?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@ABV23@0@Z>
<mmapplicationframework.?FindMapDocumentByPath@CmjApplicationUtilities@@SAPAVCmjMapDocument@@ABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmcommands.??0CmjOpenDocumentCommand@@QAE@ABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@_N110@Z>
<mmcommands.?SetRemoteConnection@CmjOpenDocumentCommand@@QAEXHPAVCmjRemoteFileConnection@@_N1@Z>
<mmapplicationframework.?ExecuteOnApplication@CmjCommand@@UAEXXZ>
<mmcommands.?GetStyleLevel@CmjStyleCommand@@IAEKXZ>
<mmapplicationframework.?IsInCreateHiddenDocumentMode@CmjDocumentCreationContext@@QAE_NXZ>
<mmcommands.??1CmjOpenDocumentCommand@@UAE@XZ>
<mmapplicationframework.?GetActiveDocument@CmjApplication@@QAEPAVCmjMapDocument@@XZ>
<mmdatamodel.??9CmjId@@QBE_NABV0@@Z>
<mmdatamodel.?SetAttachmentLoading@CmjAttachmentGroupProperty@@QAEX_N@Z>
<mmevents.??0CmjCustomCacheModifiedEvent@@QAE@PAVCObject@@@Z>
<mmevents.?Notify@CmjEventPublisher@@QAEXPAVCmjEvent@@@Z>
<mmevents.??1CmjCustomCacheModifiedEvent@@UAE@XZ>
<mmutilities.?IsGraphicsExtension@CmjGraphicsImage@@SA_NABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmapplicationframework.?GetPasteImagesAsThumbnails@CmjApplicationOptions@@QBE_NXZ>
<mmcommands.??0CmjAddAttachmentFromFileCommand@@QAE@PAVCmjMapDocument@@PAVCmjDataModelObject@@@Z>
<mmcommands.?SetHeaderFontName@CmjPageSetupCommand@@QAEXABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmcommands.?SetFileNameWithoutPath@CmjAddAttachmentFromFileCommand@@QAEXABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmcommands.??1CmjAddAttachmentFromFileCommand@@UAE@XZ>
<mmapplicationframework.?GetDisableAttachments@CmjApplicationOptions@@QBE_NXZ>
<mmutilities.?GetFileSize@SECFileSystem@@QAEHABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@AA_K@Z>
<mmapplicationframework.?GetMap@CmjMapDocument@@QAEPAVCmjMap@@XZ>
<mmdatamodel.?GetDocumentGroupProperty@CmjMap@@QAEPAVCmjDocumentGroupProperty@@XZ>
<mmdatamodel.?GetPublishStatusProperty@CmjDocumentGroupProperty@@QAEPAVCmjPublishStatusProperty@@XZ>
<mmmfcdialogs.?SetErrorMessage@CmjMfcZapierProgressDialog@@QAEXABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmmfcdialogs.?SetState@CmjMfcZapierProgressDialog@@QAEXW4EmjState@1@@Z>
<mmmfcdialogs.?StartProgress@CmjMfcZapierProgressDialog@@QAEX_N@Z>
<mmapplicationframework.?GetShowZapierWarning@CmjApplicationOptions@@QBE_NXZ>
<mmapplicationframework.?SetShowZapierWarning@CmjApplicationOptions@@QAEX_N@Z>
<mmdatamodel.?GetHost@CmjDataModelPropertyReference@@QAEPAVCmjDataModelHost@@XZ>
<mmdatamodel.?GetInkGroupProperty@CmjTopic@@QAEPAVCmjInkGroupProperty@@XZ>
<mmdatamodel.?GetTextProperty@CmjTopic@@QAEPAVCmjTextProperty@@XZ>
<mmdatamodel.?GetPlainText@CmjTextProperty@@QAEABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@XZ>
<mmapplicationframework.?GetTopicInkText@CmjDataModelUtilities@@SA?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@PAVCmjTopic@@@Z>
<mmdatamodel.?GetTaskProperty@CmjTopic@@QAEPAVCmjTaskProperty@@XZ>
<mmdatamodel.?IsTaskPriorityNull@CmjTaskProperty@@QAE_NXZ>
<mmdatamodel.?GetTaskPriority@CmjTaskProperty@@QAE?AW4EmjTaskPriority@@XZ>
<mmapplicationframework.?HasStaticTaskPriorityMarker@CmjMapMarkersUtilities@@SA_NPAVCmjMapDocument@@W4EmjTaskPriority@@PAV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmdatamodel.?IsEffortNull@CmjTaskTimeCriteriaProperty@@QAE_NXZ>
<mmdatamodel.?GetTaskPercentage@CmjTaskProperty@@QAEEXZ>
<mmapplicationframework.?CalculateInternalPercentageForTaskPercentage@CmjDataModelUtilities@@SA?AW4EmjTaskPercentage@@E@Z>
<mmapplicationframework.?HasStaticTaskPercentageMarker@CmjMapMarkersUtilities@@SA_NPAVCmjMapDocument@@W4EmjTaskPercentage@@PAV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmdatamodel.?IsReadOnlyNull@CmjAttribute@@QAE_NXZ>
<mmdatamodel.?IsDeadlineDateNull@CmjTaskProperty@@QAE_NXZ>
<mmapplicationframework.?FormatTaskInformationDateString@CmjDataModelUtilities@@SA?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@PAVCmjTaskProperty@@_N1@Z>
<mmdatamodel.?IsResourcesNull@CmjTaskProperty@@QAE_NXZ>
<mmdatamodel.?GetResources@CmjTaskProperty@@QAEABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@XZ>
<mmapplicationframework.?GetTextLabels@CmjMapMarkersUtilities@@SA?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@PAVCmjMapDocument@@PAVCmjTopic@@@Z>
<mmdatamodel.?GetHyperlink@CmjHyperlinkGroupProperty@@QAEPAVCmjHyperlinkProperty@@I@Z>
<mmdatamodel.?GetSubTopics@CmjTopic@@QAEPAVCmjTopicCollection@@XZ>
<mmdatamodel.?GetFloatingTopics@CmjTopic@@QAEPAVCmjTopicCollection@@XZ>
<mmdatamodel.?GetScannedByProduct@CmjDataModelBinaryDataProperty@@QAEABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@XZ>
<mmdatamodel.?GetDeadlineDate@CmjTaskProperty@@QAEABVCTime@ATL@@XZ>
<mmapplicationframework.??0CmjTaskResourceList@@QAE@PAVCmjTopic@@@Z>
<mmapplicationframework.?GetResourceCount@CmjTaskResourceList@@QBEIXZ>
<mmapplicationframework.?GetResourceAt@CmjTaskResourceList@@QBE?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@I@Z>
<mmapplicationframework.??1CmjTaskResourceList@@UAE@XZ>
<mmdatamodel.?GetParentTopic@CmjTopic@@QAEPAV1@XZ>
<mmdatamodel.?IsLabelTopic@CmjTopic@@QAE_NXZ>
<mmdatamodel.?GetTextLabelsProperty@CmjTopic@@QAEPAVCmjTextLabelsProperty@@XZ>
<mmdatamodel.?GetSwimlaneCount@CmjSwimlanesProperty@@QAEIXZ>
<mmdatamodel.?GetTextLabelNameAt@CmjTextLabelsProperty@@QAE?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@I@Z>
<mmdatamodel.?IsMilestoneNull@CmjTaskProperty@@QAE_NXZ>
<mmdatamodel.?GetMilestone@CmjTaskProperty@@QAE_NXZ>
<mmapplicationframework.?MakeTextClipFromSubtopics@CmjDataModelUtilities@@SAXPAVCmjTopic@@IAAV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmutilities.?CanLog@CmjLogWriter@@SA_NW4EmjLogLevel@1@@Z>
<mmutilities.?LogTypeApplicationStart@CmjLogTypes@@2V?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@B>
<mmutilities.?Log@CmjLogWriter@@SAXW4EmjLogLevel@1@ABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@11@Z>
<mmapplicationframework.?GetDesktopServerTrackingId@CmjApplicationOptions@@QAEABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@XZ>
<mmapplicationframework.?SetUserId@CmjFeedbackManager@@SAXABV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z>
<mmutilities.?LogTypeApplicationExit@CmjLogTypes@@2V?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@B>
<mmutilities.?KillSystemTimer@CmjSystemTimerRegistry@@SAXI@Z>
其实吧,觉得非捕获组没有学好。应该吧,我理解为,匹配(删除或替换)不是 匹配到的那个组。。。说得好纠结。{:301_1008:} 本帖最后由 whisperbb 于 2021-1-25 10:26 编辑
这样?你要的部分是在问号和艾特符号中间的部分 应该没问题
——————
不对 有点问题 有的行有两条及以上你需要的数据 这种你需要怎么处理? 本帖最后由 b0y 于 2021-1-25 10:26 编辑
\.?\?+(.*?)@+
手边没编辑器,用word中的替换功能说一下思路,用两次正则。可以先清理右边@@*@*Z>再清理左边<mm*.? (<[^\?]*\?{1,2})|(@+\S*>) 试一下这个 本帖最后由 hfxiang 于 2021-1-25 10:42 编辑
测试通过:
^[^?]+\?{1,2}([^@]+)@.+$
\1
设R=(?<=\?)\w*(?=@)
则两边就是(?<=(R|\n)).+?(?=(R|\n))
即(?<=(((?<=\?)\w*(?=@))|(\n))).+?(?=(((?<=\?)\w*(?=@))|(\n)))
但是貌似部分语言不支持变长的后发断言,如python.re 何故 发表于 2021-1-25 11:16
@何故
求教,有没有 匹配 分组非捕获组的那种表达方式呢? 我不是很清楚你的意思,
大概猜了下,你看看对不对,
首先,用Notpad+打开你的代码,
<mmapplicationframework.?HasAtRiskColorAttribute@CmjTaskAutomationAttributes@@2QB_WB>
直接打开替换功能,查找模式,选择正则表达式,
然后,
.?.*$
替换为空,
再把
^.*@
替换为空,
应该就解决了吧
页:
[1]
2