Hi,
I need some help from someone with more experience than me concerning the regular expressions
I have text files that are automaticaly generated in another software, and want to change the value inside it from negative to positive and viseversa.
The example:
Search is always the same: Find ...
Search found 4 matches
- Mon Feb 22, 2021 2:12 pm
- Forum: Regular Expressions (Archived)
- Topic: Make value inside line negative and viseversa
- Replies: 0
- Views: 33679
- Mon Sep 24, 2018 7:57 am
- Forum: Regular Expressions (Archived)
- Topic: Find lowest matching string and insert line below
- Replies: 3
- Views: 37066
Re: Find lowest matching string and insert line below
Hi,
I have another question concerning this case.
I have also files where it's like this
PAR ....
PAR ....
PAR ....
D ...
Is it possible when D occurs, the new line is inserted below the D, and if D is not inside the program, it is inserted after PAR?
Thanks!
I have another question concerning this case.
I have also files where it's like this
PAR ....
PAR ....
PAR ....
D ...
Is it possible when D occurs, the new line is inserted below the D, and if D is not inside the program, it is inserted after PAR?
Thanks!
- Wed Sep 19, 2018 12:38 pm
- Forum: Regular Expressions (Archived)
- Topic: Find lowest matching string and insert line below
- Replies: 3
- Views: 37066
Re: Find lowest matching string and insert line below
Thanks,
This works excellent for what I want to change!
Regards!
This works excellent for what I want to change!

Regards!
- Fri Sep 14, 2018 3:41 pm
- Forum: Regular Expressions (Archived)
- Topic: Find lowest matching string and insert line below
- Replies: 3
- Views: 37066
Find lowest matching string and insert line below
Hi,
I'm searching for a way/ or how can I build an expression to do something like this.
The file contains numerious lines with a specific string in it. Here I used 'PAR' This string is at the beginning of the line and has other data after it.
Below the last line found with PAR in it, I want to ...
I'm searching for a way/ or how can I build an expression to do something like this.
The file contains numerious lines with a specific string in it. Here I used 'PAR' This string is at the beginning of the line and has other data after it.
Below the last line found with PAR in it, I want to ...