Brendan, a Regular Expression is a way to code conditions and results. For example:
.*
means match one or more of any character. So a URL with abc or def or aa/bb will pass that test.
(foo\d)(\.html?)?
means match the word foo with any digit, like foo1, foo2, etc, and that word may or may not be followed by .htm or .html.
When a pattern like that is matched, the parts can be used to construct a new URL. So for that last regex, a target like $1
means take whatever was matched in the first part like foo1, foo2, etc, and just use that part without the extension.
Yes, this is VERY cryptic. IT takes a long time to understand this but if you have any interest in programming you’re going to encounter this over and over and over…
If you are not prepared to do that kind of stuff then either this plugin isn’t right for you, or you will need to get someone to help with this one concept.
https://regex101.com/ is a great online resource to enter text and a regex and see if you get a match. If you don’t get a match it explains how it is processing, which should help to understand how to contour it. A good regex created there can be copy/paste into the Source for a Redirection, and creating a Target shouldn’t be difficult after that.
Any help?