IPB

Welcome Guest ( Log In | Register )

> Hydrogenaudio Forum Rules

- No Warez. This includes warez links, cracks and/or requests for help in getting illegal software or copyrighted music tracks!
- No Spamming or Trolling on the boards, this includes useless posts, trying to only increase post count or trying to deliberately create a flame war.
- No Hateful or Disrespectful posts. This includes: bashing, name-calling or insults directed at a board member.
- Click here for complete Hydrogenaudio Terms of Service

 
Reply to this topicStart new topic
help to build a RegEx pattern, Pearl 5 compatible
Robertina
post Apr 20 2013, 04:21
Post #1





Group: Members
Posts: 1222
Joined: 4-January 09
Member No.: 65169



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.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st April 2014 - 16:52