Useful Regular Expressions

Match everything up to a pattern
.+?(?=PATTERN)