I want to simulate the question search using regex behaviour of Stack Overflow using the Stack Exchange API.

For example, using c++* for tags will give questions which have c++ as prefix in tag such as c++14, c++builder, etc.

I tried the below API request, but it didn't work.


Here I encoded the +(%2B) and *(%2A) using UTF-8 encoding.

How can I achieve this?

1 Answer 1


You can use the advanced search; it has a parameter q which accepts most of the syntax of the regular site search.

Since most of the C++ questions are also tagged with [c++], it's easier to show that it works with q=[c++-*], which the following link shows:

enter image description here

You must log in to answer this question.

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