• metacharacter
  • metacharacters inside character sets
  • shorthand character sets
  • repetition expressions
  • Greedy and Lazy expressions
  • grouping and alternation
  • start and end anchors
  • line breaks and multi line in many differ languages
  • word boundary
  • Backreferences
  • Backreferences example
  • Backreferences to optional expressions
  • Look ahead assertions
  • Look ahead assertions 2
  • Negative look ahead assertion
  • Look behind assertions
  • Look behind assertions support
  • Unicodes (including unicode wildcard)
  • Unicode workarounds
  • unicodes workarounds 2

  • steps for finding all using re in python

  • regexr.com uses JS regex engine

  • Greenshot allows screenshots

    menu after 'print screen' click

  •   #grabs regex pattern from text in user inputs
    import re
    text = input("Enter text here:")
    getids = re.compile('id="(.{1,10})"')
    ids = getids.findall(text)
    for id in ids:
        print(id)  
      
    

  • #grabs regex pattern from text in website.txt file
    import re
    text = open("website.txt", 'r') #finds website.txt file within python program folder
    getids = re.compile('<a href="(.+?)"')#Show what it looks for
    ids = getids.findall(text.read())#Look with instructions up above to look for all links within website
    for id in ids:#prints all links within website
        print(id)