I'm trying to filter out personal information from our confluence server, and because of the nature of the info, I can't always just search a single term. CQL is a good first step, but Regex would really help. So far, though, I haven't been able to get it to work, although I've read that it is implemented. Any suggestions?
Hi,
You should be able to search with /yourRegex/, e.g. /r.*h/. I've just checked - it works.
Does it help?
Hi,
Thanks for the response - It could be that the regex string I'm using has something confluence doesn't support? I'm trying to use something like /.+@(.+)\.(com|org|net)/ to search for email addresses.
I'll keep trying, though, good to know it should be working.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What if try /.+\@.+\.(com|org|net)/ ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still nothing, unfortunately. It's probably worth noting I'm working with a server-based version of Confluence, though I don't know what changes that would have on it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried at my confluence instances and noticed: if I put /.+\@.+\.(com|org|net)/ to quick search form, it searches, but when I put the regex to the search input on the search page it doesn't work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.