Translation - Μετάφραση

Resources, Technical Assistance and Technology News => Translator resources => Tips on Using Computers => Topic started by: spiros on 15 Oct, 2022, 16:05:05

Title: Regex: remove single brackets left and right
Post by: spiros on 15 Oct, 2022, 16:05:05
Regex: remove single brackets left and right
Code: [Select]
(?<!\[)(\[)(?!\[)
(?<!\])(\])(?!\])

These two will remove brackets from instances [like this] but not from instances [[like this]].