I thought I had fixed things by changing the child filter to greedy
It started working with my test environment and it worked (Why?)
I tested it with an OR statement as well (STRINGA|STRINGB) and again in testing it was good.
Alas when i tried production data I hit the same issue described above ...
Search found 8 matches
- Tue Jul 18, 2017 12:23 pm
- Forum: TextPipe Tips and Tricks, Questions and Support
- Topic: Perl Find and Replace Regular expression child filter
- Replies: 2
- Views: 6914
- Tue Jul 18, 2017 7:42 am
- Forum: TextPipe Tips and Tricks, Questions and Support
- Topic: Extract paragraphs/mulple lines of text
- Replies: 2
- Views: 6347
Re: Extract paragraphs/mulple lines of text
I have worked out an approach to this problem and my attempt is detailed here:
http://www.datamystic.com/forums/viewtopic.php?f=17&t=2399
It is not without issue as you will see if you care to look.
For those new to TPP I have discovered an VERY useful way to debug.
I cannot believe that I have ...
http://www.datamystic.com/forums/viewtopic.php?f=17&t=2399
It is not without issue as you will see if you care to look.
For those new to TPP I have discovered an VERY useful way to debug.
I cannot believe that I have ...
- Tue Jul 18, 2017 7:38 am
- Forum: TextPipe Tips and Tricks, Questions and Support
- Topic: Perl Find and Replace Regular expression child filter
- Replies: 2
- Views: 6914
Perl Find and Replace Regular expression child filter
This is related to an attempt to solve this challenge here:
http://www.datamystic.com/forums/viewtopic.php?f=17&t=2398
This is the desired outcome for a sample input (D1 below)
https://content.screencast.com/users/slouw/folders/Snagit/media/e2876b46-209f-4f5d-ab97-581b9e6cf644/07.18.2017-06.52.png ...
http://www.datamystic.com/forums/viewtopic.php?f=17&t=2398
This is the desired outcome for a sample input (D1 below)
https://content.screencast.com/users/slouw/folders/Snagit/media/e2876b46-209f-4f5d-ab97-581b9e6cf644/07.18.2017-06.52.png ...
- Mon Jul 17, 2017 12:33 pm
- Forum: TextPipe Tips and Tricks, Questions and Support
- Topic: Extract paragraphs/mulple lines of text
- Replies: 2
- Views: 6347
Extract paragraphs/mulple lines of text
Hi there
I have Cisco debug files and Cisco call manager log files which come in the form of multiple line entries separated by a timestamp at the start of each paragraph. The timestamp can act as a SEPARATOR for the PARAGRAPHS that make up the input text. the inout text has the form
4579958: Jul ...
I have Cisco debug files and Cisco call manager log files which come in the form of multiple line entries separated by a timestamp at the start of each paragraph. The timestamp can act as a SEPARATOR for the PARAGRAPHS that make up the input text. the inout text has the form
4579958: Jul ...
- Wed Feb 03, 2016 1:25 pm
- Forum: TextPipe Tips and Tricks, Questions and Support
- Topic: Mulit line grep
- Replies: 1
- Views: 6322
Mulit line grep
How can I capture a multi line grep from a text file.
There are paragraphs in the file with paragraph start and end signatures which I can identify with Perl regex (my preferred pattern type) as shown in the screenshot.
The existing grep filters had an option for .* to match carriage returns then I ...
There are paragraphs in the file with paragraph start and end signatures which I can identify with Perl regex (my preferred pattern type) as shown in the screenshot.
The existing grep filters had an option for .* to match carriage returns then I ...
- Thu Jun 18, 2015 8:05 pm
- Forum: TextPipe Tips and Tricks, Questions and Support
- Topic: Process CLI config constrcut in Spreadsheet friendly format
- Replies: 1
- Views: 7638
Process CLI config constrcut in Spreadsheet friendly format
I am a perle regex type so wish to do my work in that.
My problem is described below.
So comments wrt approach greatly appreciated.
I have several ideas but probably for clarity I will hold back here for now.
My main problem as I see it is to accommodate the variable number of match statements under ...
My problem is described below.
So comments wrt approach greatly appreciated.
I have several ideas but probably for clarity I will hold back here for now.
My main problem as I see it is to accommodate the variable number of match statements under ...
- Fri Dec 20, 2013 1:45 pm
- Forum: TextPipe Tips and Tricks, Questions and Support
- Topic: Perl RegEx Back References
- Replies: 3
- Views: 9558
Re: Perl RegEx Back References
Fantastic! Thank you. Works a treat. Should I have seen this in the notes/help somewhere? Thanks again
- Wed Dec 18, 2013 5:47 pm
- Forum: TextPipe Tips and Tricks, Questions and Support
- Topic: Perl RegEx Back References
- Replies: 3
- Views: 9558
Perl RegEx Back References
Please help with a Find and Replace using Perl Regex and back references.
I get the unexpected output as shown in the 2nd screenshot.
I am expecting/wating to get rid of everything after the first 3 CSV entries
http://img199.imageshack.us/img199/9021/39ut.jpg
http://img585.imageshack.us/img585 ...
I get the unexpected output as shown in the 2nd screenshot.
I am expecting/wating to get rid of everything after the first 3 CSV entries
http://img199.imageshack.us/img199/9021/39ut.jpg
http://img585.imageshack.us/img585 ...