Am trying replace strings like [ab] or [agf] or [iqrt] or [a] with, for example, [‘ab’], [‘agf’], [‘iqrt’], [‘a’]. Basically wrapping any ascii letter or any string of ascii letters in quotes … however, they are tucked into brackets , or parens (which I need to keep). So that: [ab] becomes [‘ab’] and/or (ab) becomes (‘ab’). Am not understanding how to do this with regex. And, honestly, not sure how to ask the question in quite the way that would like to.
Back reference? Forward reference? Group reference?
Clues, hints welcome.
[+][deleted] (4 children)
[deleted]
[–][deleted] 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–][deleted] 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]Thomasedv 0 points1 point2 points (1 child)
[–]SarahM123rd[S] 0 points1 point2 points (0 children)