Regex multiline wildcard (?s)

Here’s a follow-up to the Tip of the Night for August 23, 2020 which discussed how to use (?m) to run a multiline regular expression search.


Using (?s) at the beginning of a regex search will let you search from in front and behind while also using a wildcard.



This search will locate any four digits which appear in another string on any line.

Contact Me With Your Litigation Support Questions:

seankevinoshea@hotmail.com

  • Twitter Long Shadow

© 2015 by Sean O'Shea . Proudly created with Wix.com