I need to redirect following URL as follows:

Code:
https://www.example.com/news/amp/?s
to

Code:
https://www.example.com/amp?s
2nd URL has no "/" before ?s

I tried using following code, but failed.

Code:
RewriteEngine On
RewriteCond %{QUERY_STRING} ^news/amp/?s
RewriteRule ^(.*)$ http://www.example.com/amp?s   [R=301,L]
But its not working, can any one suggest correction for this code?