Jump to content

kaizmoto1489

New Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About kaizmoto1489

  • Rank
    Newbie
  1. I'm hoping someone can help as I'm new to regex. I have a bunch of URLs and it basically follows the format of: /employer/company-name/various-pages What I need to do, is redirect all the various-pages as they no longer exist. So the URL becomes: /employer/company-name/ The regex I have is as follows: \/employer\/(.+?)\/[a-z0-9\-]+\/ \/employer\/(.+?)\/ The issue I have, I need to make company-name a variable but do an exact match Any help is very much appreciated!!!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.