'How can i send input value with current url in wordpress through action

Here is my form I want to use Current page url and the value of select "region" in my action how can i do it in wordpress(PHP)

<form action="{{Current-url}}/{{valueofregion}}" method="POST">
<label>Name</label>
<input type="text" name="name" >
<label>Region</label>
<select name="region">
    <option value="1">Europe</option>
    <option value="2">Asia</option>
    <option value="3">Africa</option>
</select>
<button type="submit">Submit</button>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source