hi, I'd like to make a code in order to search for keywords in a huge text. It works like this: I prompt for a big text from the user. the program must find the exact text: then a number between 0 and 20. after that there is a Also, the text may not exist, if that happens it just ignores it. where is "Paliçada" it may also be: "Muralha" or "muro de terra" I'd like to make the same code but also to search for (instead of paliçada): Palácio Celeiro Praça de Torneios for the last I'd like it to search for: extract the number that comes next (it ends with a "/") and then extract the number that comes next to the "/" it ends with a: ___________________________________________________ In order to try to make this more easy to understand it's better to make an example: in text there will be (between other text): the program will output: or it there may also be: the program will output: and there will be: the program will output: and there will be an other output: I hope I made myself clear enough Edit: I have aldeady tryed using the coding like: [0-9] , .^? but I cannot fully understand it... Edit: Why noone is answering?