Created
March 23, 2021 05:36
-
-
Save justinallen/aac551dd8451dfbc40060885513d95fc to your computer and use it in GitHub Desktop.
Miscellaneous regex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# getting messy page numbers | |
^p. \(\#[0-9]{1,3}\) | |
# matches p. (#33) | |
# page headings with book title | |
^HARD TIMES. [0-9]{1,3} | |
# matches HARD TIMES. 101 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment