I am looking for the regular expression for the following.
That can match
The words
Microsoft.Sql/servers/*.*/databases
That can match
Microsoft.Sql/servers/some-text/databases Microsoft.Sql/servers/some--other-text/databases etc...
The words
"Microsoft.Sql/servers/"&
"/databases"should be an exact match.. and where
*.*can match any text.