Hi All,
After discovering how to apply Custom Rules, its got me down this RegEx rabbit hole.
Is anyone able to help with the following that I have 'hacked' together - it is working, but not optimal IMO for both header and URI searches.
https://regex101.com/r/dezYX0/3
What I would like to ask is:
After discovering how to apply Custom Rules, its got me down this RegEx rabbit hole.
Is anyone able to help with the following that I have 'hacked' together - it is working, but not optimal IMO for both header and URI searches.
Code:
(\.(fit|link)+?)(?:$|\/|\:)
What I would like to ask is:
- How can I ignore everything after the end of TLD (refer to link)
- Is the code the shortest/simplest it can be