I believe you need to escape the dot and forward slash characters where they represent characters and not classes or delimiters. Your regular expression should be: www\.test\.com\/.* Refer to this page for more information regarding regular expressions in Elasticsearch.
Comparing your query to the example queries here, it appears to expect a field name in the position that you have denoted as "content". Does the regular expression match when you replace it with "url"?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.