Viewing 1 replies (of 1 total)
  • Thread Starter Philip Isaacs

    (@pisaacs)

    Never mind i figured it our

    Of course i had the wrong RegEx. For anyone looking to do something similar, here’s the correct RegEx expression

    ^\/author\/[0-9]+(\/?)$

    This will capture the url /author and any number (no matter how many) with or without the trailing slash

Viewing 1 replies (of 1 total)
  • The topic ‘Simple RegEx help’ is closed to new replies.