Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
paultwdavey
Participant
Jump to solution

URL Filtering RegEx

Hi All

I've made a Application/Site list, and added some sites to it, but I'm struggling to figure out how I would write this URL in RegEx form:
*.compute-*.amazonaws.com

Is anyone able to help?
Thanks
Paul

0 Kudos
1 Solution

Accepted Solutions
G_W_Albrecht
Legend Legend
Legend

Should be [a-zA-Z0-9_]+\.compute-[a-zA-Z0-9_]+\.amazonaws\.com

You can test with your real values at https://regex101.com/

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist

View solution in original post

4 Replies
G_W_Albrecht
Legend Legend
Legend

Should be [a-zA-Z0-9_]+\.compute-[a-zA-Z0-9_]+\.amazonaws\.com

You can test with your real values at https://regex101.com/

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
paultwdavey
Participant

Many thanks, I will give that a try 🙂

0 Kudos
G_W_Albrecht
Legend Legend
Legend

If it works as you want it, just click a Kudo and Accept as Solution 😎

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
0 Kudos
G_W_Albrecht
Legend Legend
Legend

We left out http(s):// - full RegEx should be:

https?:\/\/[a-zA-Z0-9_]+\.compute-[a-zA-Z0-9_]+\.amazonaws\.com

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events