I am trying to create an application where I have three text boxes. In textbook 1, a
text should be filled in, which in text boxes 2 and 3 will extract parts of the text from text box 1 marked with tags.

Example of text:
The customer will order a <color> blue </ sweater> and it should be in size <size> medium </ size>

How should I declare the code? I want to use the mid() function to search the text, but dont know how to do that with two types of "tags"