Skip to main content
7 events
when toggle format what by license comment
Dec 27, 2015 at 1:27 comment added mikeserv @rcjohnson - well the clear answer to that, of course, is to use the strings specified - which are > <. and anyway, apparently my answer worked without any tag specification. see the askers comment there.
Dec 27, 2015 at 1:21 comment added rcjohnson @mikeserv- So if book title> is only an example of a tag for which speld_rwong is looking, where is the difficulty in replacing "book title" with the name of any other tag for which he is looking? The ONLY way for anyone to provide a complete and correct answer would be if speld_rwong provided us the exact file from which he is working and the exact data he is seeking.
Dec 27, 2015 at 0:12 comment added mikeserv @Law29 - that's not what is asked at all. book title is used in the for example phrase immediately followed by I want to extract the text between > and <. The book title is at best circumstantial, and, at the worst, it is generic filler. what is specifically requested is anything occurring between > and < which can only be assured by removing all between < and > and the [<>] chars themselves.
Dec 27, 2015 at 0:09 comment added Law29 @mikeserv no, I don't see an answer that selects the text following book title> which I think is quite useful and corresponds quite well to what the OP requested. I would not have missed it.
Dec 26, 2015 at 18:36 comment added mikeserv @Law29 - in case you missed it, there is an answer here that already does that.
Dec 26, 2015 at 16:15 comment added Law29 I upvoted you, but @speld_rwong might need to replace .* with [^<]* if his files might have several books per line. All depends on the manner in which the HTML is generated.
Dec 26, 2015 at 11:50 history answered rcjohnson CC BY-SA 3.0