Hi All: Just need a syntax verification of a regex I'm trying to write.
I want to match any url ending in "job" or exactly matching "jobs", so all of these, but only these, would match:
- dayjob
- nightjob
- jobs
is the following syntax correct?
<rule name="matchJobs">
<match url="^.+job|jobs$"/>
<action type="Rewrite" url="jobs.aspx" />
</rule>
I tried it and it works, but I want to make sure it's written correctly and won't match anything else?
TIA