Important note about SSL VPN compatibility for 20.0 MR1 with EoL SFOS versions and UTM9 OS. Learn more in the release notes.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Regex

Hi,

I would like to create a web exception by regex for a specific Facebook page and its content

As easy as this sounds I am having trouble with the regex I built:

^([A-Za-z0-9.-]*\.)?facebook\.com\/xxx\/([A-Za-z0-9]*)

I would appreciate if anyone can tell me what I am doing wrong.  

^([A-Za-z0-9.-]*\.)?facebook\.com\.?/



This thread was automatically locked due to age.
Parents Reply
  • Hello ,

    A Regex like this should work for you:

    • ^([a-zA-Z0-9.-]*\.)?facebook\.com\.?/FinductiveLtd*

    In this regex, It will count anything before "facebook.com", and when It matches the initial /test - anything after that will go through the exemption.

    Just a warning, this isn't a good Regex, but It should work as you expect.

    EDIT: Look at  answer, doing /xxx apparently also include everything after It.

    Thanks!


    If a post solves your question use the 'Verify Answer' button.

    Ryzen 5600U + I226-V (KVM) v21 EAP @ Home

    Sophos ZTNA (KVM) @ Home

Children