How to search through a list of items to another page when the user types something with spaces. For example "Cool Camera"

When I get path from url it keeps showing up as cool%20camera. How to search for just cool camera