Search found 1 match

by victorv
Sun Apr 04, 2021 9:41 pm
Forum: General XML Questions
Topic: Find and wrap all instances of a certain regex search at once
Replies: 1
Views: 960

Find and wrap all instances of a certain regex search at once

I have a document which I need to find and wrap all instances inside brackets with a tag and keep the content inside the brackets. For instances. I have [1], [13, 14], [22] etc. in my document and I need to find using regex which I use \[.*?\] and then replace with [<xref ref-type="aff" ri...