How to place a text block in an or block

Hello, is there any way to place a text block in an or block?
I want to make a web browser and I want the program to check whether the user has entered a URL or wants to search for something, but I cannot put a text block into a block or. Is there any way to insert a text block into an or block? (I want to check it like that: if contains text textbox1.text piece .com or .org or .net or .gg or .io)

Thanks

1 Like