Find & replace skips over parenthesis ()?

Hi all… trying to do a find & replace, finding (text) and replacing it with nothing (i.e. blank). I end up just getting () in the output. Does the find & replace feature not work for parenthesis?

I created a simple example in the app https://bubble.io/page?type=page&name=findreplace&id=forumapp3&tab=tabs-1

Parenthesis are used to denote a sub pattern or group, so to match parenthesis you need to “escape” them, like \(text\)

regex2 runtime shows:

2 Likes

This topic was automatically closed after 14 days. New replies are no longer allowed.