• I have numerous urls with ‘%’ in them from a prior joomla site I think. My new urls are clean so I just need to character match ‘%’ somehow in regex. The ‘%’ is always followed by something unique so the only thing in common with all these bad urls is the ‘%’ sign.

    I’ve tried [%] and it didn’t work. Any ideas?

    https://www.ads-software.com/plugins/redirection/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter private

    (@remery)

    correction – The common string as it appears in Webmaster Tools is: ‘%20’ which I guess is blank space. Obviously a bad url writer. So how do I match any/all instances of ‘%20’ using regex?

    Thread Starter private

    (@remery)

    Still no luck, I’ve tried lots of combos. Here’s my exact string:

    /tag/Masters%20of%20Analytics

    The %20 is representative of space but i can’t seem to be able to grab that. Any help or ideas? Thanks to all!

    Thread Starter private

    (@remery)

    Ok, my latest realization is that this plugin doesn’t work for grabbing a blank space or ‘%20’ from a URL. I’m quite certain I’ve covered my bases with no luck.

    Updates coming? Please add functionality to grab blank space. /s doesn’t work in any combination I’ve tried.

    Thread Starter private

    (@remery)

    Can anyone else, confirm that they have (or have not) successfully grabbed blank space using regex?

    example url: /xxxxxx%20xxxxx%20xxxxxxx

    Anyone?

    Have you tried /(.*)%20(.*)%20(.*)?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Regex help – how to match a character’ is closed to new replies.