Practice
We have characters matching the pattern %XX
that is, the string contains a percent sign followed by 2 more arbitrary latin or numeric characters.
We put together a regular expression that replaces every match with nothing, i.e. deletes them.
Example
But that way any 2 characters get removed, whereas we need to remove exactly english letters and digits, so it is better to use this regular expression for stripping urlencode
Comments