Apr-17-2020, 02:26 PM (This post was last modified: Apr-17-2020, 02:26 PM by ClassicalSoul.)
How could I use regex to match everything not in between hyphens? E.g.
Edit: This particular example is simple, and could be solved using
re.search(r"<>", "- i don't want this - I do want this")Edit: This particular example is simple, and could be solved using
re.split() -- but that won't generally work 