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

How to combine the URL by Regular Expression

Hi,

I hope to combine following URL by Regular Expression.

1) https://cdn.projects.scratch.mit.edu/
2) https://scratch.mit.edu/

At this moment, I am using this Regular Expression.

^https?://([A-Za-z0-9.-]*\.)?scratch\.mit\.edu/

But I am not sure that is correct or not.

Who can help to confirm?

Thanks a lot!



This thread was automatically locked due to age.