use regex to replace string in URL with something else
Go to solution
Solved by trag1c,
you could probably use
\byoutube\.com\b
This uses word boundaries so that it will match what's between the \b. The escape before the period is that it will match the period and not any character at that position.
So with a string replace function you should be able to substitute the matched regex without messing with the rest of the URL.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now