Let's say I want to follow all Java related questions on Stack Overflow. I decide to favorite java*.

Tag search for java*

Everything seems to be working fine. My search includes questions about , , and...

Javascript tag

oh. It also includes Javascript.

In Regex I could use ^ as a NOT character, but sadly java[^s] is not a valid option for favoriting tags.

Is there an equivalent of Regex's NOT character ^ for tag favoriting*? If not, can the option be added?

*Originally my question mistakenly referred to tag searching instead of tag favoriting. I apologize for the inconvenience.


1 Answer 1


As per the Advance Search Tips in the Search page, by using -[tag] to exclude the not needed tags.

Advance Search Tips

So in your case you case use [java*]-[javascript], but it is not returning the expected result. As I found in this answer, you can use [java*]-[javascript] is:q to get your expected result.

Exclude JavaScript

Incase if you want to exclude all JavaScript related tags (like javascript-events, javascript-objects), you can append * with that exclude tags [java*]-[javascript*] is:q


For favoriting the Java tags related tab, use the java* and in the URL remove the exclude tags name and append those in the end as with not like not javascript not javascript-objects not ...

  • Does this work when favoriting a tag?
    – Stevoisiak
    Jun 28, 2017 at 13:05
  • For favoriting tag, I didn't find any work around. Manual editing will help, see my Update: block
    – Arulkumar
    Jun 28, 2017 at 13:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .