This contains various regexes that I find useful.

Match any character except newline


Match first word of a string on multiple lines


Multiple lines of neg and pos floating point numbers that are less than 1000


Do not return result from a group


For example, do not return the year from this string: 12/06/2016 05:52

(^\d{2}\/\d{2}\/(?:2015|2016) (\d{2}:\d{2})$)

You’ll note that everything else is being captured, as well as the time being caputured by a specific group. However, this will not include 2015 or 2016.

Doesn’t start with http



Remove http(s) from every line


Match 2 or 3 digits