Regex to match anything in braces? #2334
-
https://regex101.com/r/Vclncq/1 I have some code that looks like:
I can't seem to match that using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Like pretty much all other regex engines,
Equivalently, you can use
Indeed, your regex101 example works because you have Note that |
Beta Was this translation helpful? Give feedback.
Like pretty much all other regex engines,
.
matches every character except for newlines. You can make it match any character by enabling thes
flag (also like in almost all other regex engines):