Tag: regex

  • Regex basics

    Regex comes up all the time in NLP, and it’s worth having an understanding of the basics. In recent times the quickest way to construct a regex is to go ‘Hey <favourite LLM>, make me a regex to do xyz‘ and yet it is unsatisfying not to understand the construction of the provided regex –…

  • Regex is a thing worth knowing :)

    Regex can do amazing things with data cleanups – basically mandatory must use. But also tricky to retain in brain if not used frequently… Here are 3 great reference and test resources that can help: https://docs.python.org/3/howto/regex.html https://regexr.com/ https://regexone.com/