- Products
- Learn
- Local User Groups
- Partners
- More
Call For Papers
Your Expertise, Our Stage
Ink Dragon: A Major Nation-State Campaign
Watch HereAI Security Masters E5:
Powering Prevention: The AI Driving Check Point’s ThreatCloud
The Great Exposure Reset
AI Security Masters E4:
Introducing Cyata, Securing the Agentic AI Era
CheckMates Go:
CheckMates Fest
Hi
I want to block a URL in application layer. I have https inspection on.
I've made a Application/Site list with "URL's are defined as Regular Expression" and added some sites to it, but I'm struggling to figure out how I would write this URL in RegEx form:
http://lexin.nada.kth.se/lexin/#main=4;
I've tried many different ways but it still not working. Other sites working.
I looked at https://regex101.com/ and I got a match on my expressions but it is still not working.
Thank you
Rikard
Minor note: this will only match HTTP. The site is available via HTTPS, and the expression above won't match it. If you change the opening to this:
https?:\/\/
it should match both HTTP and HTTPS.
So the complete solution is:
https?:\/\/lexin\.nada\.kth\.se\/lexin\/\#main=4;
What version/JHF level?
What precise regexes have you tried?
Hi!
we are running r80.40 take 87.
I have tried
.lexin.nada.kth.se/lexin/#main=4;
.lexin.nada.kth.se\/lexin\/#main=4;
.lexin.nada.kth.se/lexin/*main*4*
.lexin.nada.kth.se/lexin/.main.4.
.lexin.nada.kth.se\/lexin\/.main.4;
.lexin.nada.kth.se\/lexin\/*main*4;
and so on. I think the #or the = causing the problem because this url works just fine: .lexin.nada.kth.se/lexin/bildtema-survey.html
Why not block entire http://lexin.nada.kth.se/ ?
We want to reach all the pages on that site except
.lexin.nada.kth.se/lexin/#main=4; and
.lexin.nada.kth.se/lexin/bildtema-survey.html
Use
http:\/\/lexin\.nada\.kth\.se\/lexin\/\#main=4;
I will try this. Thank you for the help!
/Rickard
And did it work as needed ?
Hi,
Sorry for the late reply, I have not had the opportunity to test until today.
It did not work as needed. I have a block rule with this regex but I can still reach the site. See attached screenshot. Is it possible for you to try this in a lab?
I tried both http and https.
/Rickard
Minor note: this will only match HTTP. The site is available via HTTPS, and the expression above won't match it. If you change the opening to this:
https?:\/\/
it should match both HTTP and HTTPS.
Very true !
So the complete solution is:
https?:\/\/lexin\.nada\.kth\.se\/lexin\/\#main=4;
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 33 | |
| 21 | |
| 18 | |
| 12 | |
| 9 | |
| 9 | |
| 9 | |
| 8 | |
| 8 | |
| 7 |
Tue 17 Mar 2026 @ 03:00 PM (CET)
From SASE to Hybrid Mesh: Securing Enterprise AI at Scale - EMEATue 17 Mar 2026 @ 02:00 PM (EDT)
From SASE to Hybrid Mesh: Securing Enterprise AI at Scale - AMERWed 18 Mar 2026 @ 10:00 AM (CET)
The Cloud Architects Series: An introduction to Check Point Hybrid Mesh in 2026 - In Seven LanguagesThu 19 Mar 2026 @ 11:00 AM (EDT)
Tips and Tricks 2026 #2: AI Security Challenges and SolutionsTue 17 Mar 2026 @ 03:00 PM (CET)
From SASE to Hybrid Mesh: Securing Enterprise AI at Scale - EMEATue 17 Mar 2026 @ 02:00 PM (EDT)
From SASE to Hybrid Mesh: Securing Enterprise AI at Scale - AMERWed 18 Mar 2026 @ 10:00 AM (CET)
The Cloud Architects Series: An introduction to Check Point Hybrid Mesh in 2026 - In Seven LanguagesThu 19 Mar 2026 @ 11:00 AM (EDT)
Tips and Tricks 2026 #2: AI Security Challenges and SolutionsTue 24 Mar 2026 @ 04:00 PM (CET)
Maestro Masters EMEA: Hyperscale Firewall Architectures and OptimizationTue 24 Mar 2026 @ 06:00 PM (COT)
San Pedro Sula: Spark Firewall y AI-Powered Security ManagementThu 26 Mar 2026 @ 06:00 PM (COT)
Tegucigalpa: Spark Firewall y AI-Powered Security ManagementAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY