Hi Monks
Is there a way to catch texts outside of brackets? I am looking for a regex..
this is my string
THIS IS OUTSIDE (THIS IS INSIDE)
What I expect is
THIS IS OUTSIDE
below regex can catch what is inside.
How can I catch things except what is inside?\((.*?)\)
below matches everything except "(" and ")"
[^()]
Your INPUTS?
In reply to Regex for outside of brackets by theravadamonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |