Search found 4 matches

by XJAC
Mon Feb 22, 2021 2:12 pm
Forum: Regular Expressions Help
Topic: Make value inside line negative and viseversa
Replies: 0
Views: 13750

Make value inside line negative and viseversa

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 the se...
by XJAC
Mon Sep 24, 2018 7:57 am
Forum: Regular Expressions Help
Topic: Find lowest matching string and insert line below
Replies: 3
Views: 14476

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!
by XJAC
Wed Sep 19, 2018 12:38 pm
Forum: Regular Expressions Help
Topic: Find lowest matching string and insert line below
Replies: 3
Views: 14476

Re: Find lowest matching string and insert line below

Thanks,

This works excellent for what I want to change! :D


Regards!
by XJAC
Fri Sep 14, 2018 3:41 pm
Forum: Regular Expressions Help
Topic: Find lowest matching string and insert line below
Replies: 3
Views: 14476

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 inse...