Notepad ++. Find specific text and select the whole line and replace other text

Viewed 169

Hy,

i am new to notepadd++ and i want to replace some text. I have specific text in lines like Volume(m3) and want to change IFCLABEL to IFCREAL and delete '.

This I have:

#425=IFCPROPERTYSINGLEVALUE('Volume(m3)',$,IFCLABEL('0.1'),$);

I want to get out.

#425=IFCPROPERTYSINGLEVALUE('Volume(m3)',$,IFCREAL(0.1),$);

Can somebody help me?

1 Answers

You could use for example:

Find what:

#\d+=.*?'Volume\(m3\).*?\bIFC\KLABEL\b

Replace with:

REAL

Regex demo

enter image description here

Related