0

Regex I try ([)(\w)*(])

Text I need for example

Hello[world], where the [world]] gone?

Second [world]] -> the the braces ] before last brace ']' should ignored.

So match must skip any ] inside word. I want make whole [world]] is match.

See Demo regexr.com/5u6d2

Here's what I need exactly in picture:

enter image description here

KOGRA
  • 43
  • 4

0 Answers0