More tools to search for artist info?

Hello Everyone,

Please show me how to contruct a search string similar to what follows, which I had found here for allmusic, with which to locate the artist info:

https://www.allmusic.com/search/artist/$replace(%artist%, ,+)

The search queries required, should apply to these two sources:

discogs & musicbrainz

Thank you.

Discogs:
https://www.discogs.com/search/?q=%artist%&type=artist

MusicBrainz:
https://musicbrainz.org/search?query=%artist%&type=artist

Thank you very much, @LyricsLover.

Discogs:
https://www.discogs.com/search/?q=%artist%&type=artist

MusicBrainz:
https://musicbrainz.org/search?query=%artist%&type=artist

@LyricsLover: If I may, I would like to revisit your two proposals, as I was only able to test them for the first time, today:

Pending further applications, the first artist I searched for, was "Mary Duff". Both sources returned for this query the artist's name only, i.e. excluding their surname. Can this search tool be further refined to take care of such instances?

These are the two respective landing pages for the "Mary Duff" search:

Search - MusicBrainz

Mary music | Discogs

Thank you.

You can try it with:
Discogs:
https://www.discogs.com/search/?q="%artist%"&type=artist

MusicBrainz:
https://musicbrainz.org/search?query="%artist%"&type=artist

or you can do the same as for your initial allmusic query and replace a space in the ARTIST tag with + character for the search query:
https://www.discogs.com/search/?q=$replace(%artist%, ,+)&type=artist
https://musicbrainz.org/search?query=$replace(%artist%, ,+)&type=artist

Thank you, @LyricsLover, these are the two that I was aiming for.