Thread: [Solved] Capture group in RegEx
View Single Post
 
Old 01-02-2021, 02:39 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

If I understand your Regex correctly - and what you're trying to achieve - it's equivalent to a wildcard Find/Replace, where:
Find = \[\|\]^13[!^13]@^13[!^13]@\|^13
Replace = -------------^&
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote