How to write if statements with text boxes containing URLs

Thank you very much!