You provided two links. Both links don’t work as the name=San… part is not included in the right
way so that parameter never reaches the server. The server gets a broken query.
Can’t you provide links that are correct?
That the server can’t handle your query is something different.
These were never written as links. They are just plaintext URLs, and our stupid forum software tries to turn them into links (but fails to do so properly because they contain brackets). Please don’t blame users, especially new users, for the shortcomings of our forum software.
If you really want to test the URLs, then copy them into your address field manually. However, I can’t see why you would even need to open the URLs to decide whether or not you can answer the original question.
As for that question, I’m unfortunately not aware of a wildcard query feature in Overpass API.
Unfortunately I cannot answer this question either. But there is an alternative way to get the requested results: offline.
Some software is able to filter .pbf or .o5m files. I am not sure if Osmosis is able to deal with wildcards, but osmfilter surely is.