Jaka Senekovič
Jaka Senekovič

Reputation: 21

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

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?

Upvotes: 2

Views: 586

Answers (1)

The fourth bird
The fourth bird

Reputation: 163577

You could use for example:

Find what:

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

Replace with:

REAL

Regex demo

enter image description here

Upvotes: 0

Related Questions