Search found 18 matches
- Fri Oct 21, 2022 9:40 am
- Forum: TextCrawler - General
- Topic: Commenting a script
- Replies: 2
- Views: 5857
Re: Commenting a script
Thanks! That's exactly what I need.
- Tue Oct 18, 2022 2:29 pm
- Forum: TextCrawler - General
- Topic: Commenting a script
- Replies: 2
- Views: 5857
Commenting a script
Hi! I usually edit my scripts with a text editor. In the old TextCrawl format I used to comment some lines at the beginning to add a brief explanation and instructions. For example: // Numbers to months // This script converts numbers to months. E.g. #01 to January // Make sure to use UTF8 enconding...
- Tue Oct 20, 2020 10:25 am
- Forum: Regular Expressions Help
- Topic: $1 vs \1
- Replies: 1
- Views: 7479
Re: $1 vs \1
Could it be that $1 is not working in the second example because I am using it in the same expression as the captured text? In the first case I used it in the Replace field.
- Tue Oct 20, 2020 10:19 am
- Forum: Regular Expressions Help
- Topic: $1 vs \1
- Replies: 1
- Views: 7479
$1 vs \1
Good morning! Can you help me understand the difference between $n and \n to refer to the content captured between (), please? I have an XML file where every record is in a single line, so I search for </(.+?)>< and replace it with </$1>\r\n< to move every tag to a new line. It works fine. Now I rea...
- Thu Feb 16, 2017 2:38 pm
- Forum: Regular Expressions Help
- Topic: Matching beginning of line
- Replies: 2
- Views: 20491
Re: Matching beginning of line
OK, I think I found the solution reading other topics.
I need to have Multiline anchors enabled.
Now it works. :-)
Thanks!
I need to have Multiline anchors enabled.
Now it works. :-)
Thanks!
- Thu Feb 16, 2017 9:13 am
- Forum: Regular Expressions Help
- Topic: Matching beginning of line
- Replies: 2
- Views: 20491
Re: Matching beginning of line
This is an example to make it clearer what I want to do: I have this text: <keep>Keep this line</keep> <keep>Keep this line</keep> Remove this line Remove this line too <keep>Keep this line</keep> And I want this: <keep>Keep this line</keep> <keep>Keep this line</keep> <keep>Keep this line</keep> Th...
- Thu Feb 16, 2017 8:46 am
- Forum: Regular Expressions Help
- Topic: Matching beginning of line
- Replies: 2
- Views: 20491
Matching beginning of line
Hello! I am trying to write a regex that deletes all lines that do not begin with an HTML tag. In my text editor (Editpad) I would write it like this: ^[^<].+?\r\n But in TextCrawler ^ only matches the beginning of the file, not every line. I found a previous thread here (https://www.digitalvolcano....
- Mon Dec 09, 2013 12:12 pm
- Forum: TextCrawler - General
- Topic: Wrong encoding
- Replies: 1
- Views: 8688
Wrong encoding
Hi Thank you very much for making TextCrawler freely available. It's a great software, and one of the few that support unicode well. Thanks! I was having a problem with encoding but, while I waited for the activation message, I found the solution, so I thought I would share it. I have seen other pos...