Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: help to build a RegEx pattern (Read 3594 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

help to build a RegEx pattern

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 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 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.
This is HA. Not the Jerry Springer Show.

 
SimplePortal 1.0.0 RC1 © 2008-2021