My case:
- String is a Valid URL and does not contain
fbdcdn.net
somewhere in the String - String can also be simply
N/A
So far i have the current regex which will successful check if a URL ist Valid and can also be simply N/A
Regex
http(?:s)?:\/\/(?:www\.)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:\/?#[\]@%!\$&'\(\)\*\+;=.]+$|(?:N\/A)
Should Work
https://upload.wikimedia.org/wikipedia/commons/thumb/2/2f/Google_2015_logo.svg/1200px-Google_2015_logo.svg.png
Should not Work
https://scontent-frt3-1.xx.fbdcdn.net/v/t1.0-9/abcde.jpg?_nc_cat=108&_nc_ht=scontent-frt3-1.xx
Since i cant get this working i would appreciate some help or explanation what should I do next.
Thanks in advance