kreut — 2012-04-14T10:52:02-04:00 — #1
which would then pull off ">0. Table of Contents" from:
<a class="sf-with-ul" href="/books/Partsch_1/Table_of_Contents/table_of_contents.php">0. Table of Contents
Truth be told, I just want "0. Table of Contents" as opposed to the opening ">". While I know that I can just use the substr() method, I'd much rather improve my somewhat non-existent regex skills. My attempt was to use
which unfortunately pulled off
1/Table_of_Contents/table_of_contents.php">0. Table of Contents
Is there a cleaner regex solution?
marplo — 2012-04-14T14:21:39-04:00 — #2
Try with this regexp, which gets the text between '>' and '<':
kreut — 2012-04-14T15:01:54-04:00 — #3
Thank you for the quick reply.
system — 2014-10-07T22:15:56-04:00 — #4
This topic is now closed. New replies are no longer allowed.