It’s not clear what you are trying to do. You can find more details as well as examples here:
https://redirection.me/support/redirect-regular-expressions/
i am sorry for confusing writing,
I wants to set Source:
?m=1 to Destination: ?amp=1
.
like this page:
https://www.tvhex.com/pathaan-movie-review/?m=1
to be visible on this page:
https://www.tvhex.com/pathaan-movie-review/?amp=1
I have currently set this rule.
Based on your description it would seem like your destination will need to include ?amp=1
here is current ss that i have to redirect parameters link to original post content.

cant add ss image directly. Pls help
Yes, you will need to include ?amp
in the target – how else is it going to get there?
/$1/ to
/$amp/ or
/$?amp/
can you give me the one i should use?
/$1/?amp=1
like this?
if i do this will it redirect twice? Or only single time?
Yes. You have to set the target to be what you want the target URL to be.
it worked. But
/$1/?amp=1
if i do this will it redirect twice? Or only single time?
Why would it redirect twice? Is that happening?
if a link is 404 not found, it’s stay with that old parameter,
While if a link is okay then it redirect to new parameter.
will it be a problem?
you can check here: https://www.google.com/search?q=site%3Awww.tvhex.com+inurl%3A%3Fm%3D1&oq=site%3Awww.tvhex.com+inurl%3A%3Fm%3D1
I don’t understand the question. It doesn’t matter if the page exists or not as long as it matches the redirect source. Does that match the source?
i understand your question.
let me give you an example. So i actually moved from blogger/blogspot to wordpress. And
i have lots of page indexed in search engine with ?m=1 which i wants to redirect on Google AMP site. Which is now done tnx to your advice.
while all most all link works. Some Don’t redirect/work.
example:
This work: https://www.tvhex.com/what-is-demon-their-ranks/?m=1
but this Don’t: https://www.tvhex.com/what-is-dem-404-on-their-ranks/?m=1 this keep this? m=1 parameter.
hope u understand.
its working now. Sry for The trouble. It was Cache problem.
That works fine: