HydrogenAudio

Misc. => Off-Topic => Topic started by: Robertina on 2013-04-20 04:21:30

Title: help to build a RegEx pattern
Post by: Robertina on 2013-04-20 04:21:30
I have regularly to search a large number of text documents for files that contain both a given word AND a given date (dd.mm.yyyy) - and optional, a third word. The search terms can be placed anywhere in the text and occur in any sequence.

My text editor (http://www.editpadpro.com) supports Regular Expressions (according to its help file Pearl 5-compatible as far as I understand; also its programmer has his own RegEx web site (http://www.regular-expressions.info/) online) and I know that I have to escape the special meaning of some characters by using a backslash (dd\.mm\.yyyy) but I am totally drawing a blank in building the complete regex pattern that does what I am looking for.

Any help would be appreciated.

Thank you in advance.