Search for a word & then replace a different word in line

General discussions about Advanced Find and Replace
Post Reply
nsquared
Posts: 1
Joined: Wed Feb 06, 2008 1:51 pm

Search for a word & then replace a different word in line

Post by nsquared » Wed Feb 06, 2008 2:17 pm

Hello


I am trying to a search for a one item on a line of text and then replace a different part of the line of text

For example

I want the software to first find BS4803M-PLCC28 in the line below

"Name" : "BS4803M-PLCC28" "Category" : "PLCC" "Groups" : "PLCC" "Description" : "IC"


And then replace IC

"Name" : "BS4803M-PLCC28" "Category" : "PLCC" "Groups" : "PLCC" "Description" : "IC"


With Socket so that the line of text ends up reading

"Name" : "BS4803M-PLCC28" "Category" : "PLCC" "Groups" : "PLCC" "Description" : "Socket"


This also needs to be done on multiple lines of text as well, using different search strings and different Replace strings

For example

"Name" : "BS4803M-PLCC28" "Category" : "PLCC" "Groups" : "PLCC" "Description" : "IC"
"Name" : "BS9108R-TQFP32" "Category" : "Quad/Flatpack" "Groups" : "LQFP (1.6mm thick)" "Description" : "8 BIT RISC MICRO AVR48"
"Name" : "BS9109R-PLCC44" "Category" : "PLCC" "Groups" : "PLCC" "Description" : "8 BIT MICRO TS87C52X2 M/P/N AT87C52X2-SLSUL"
Etc……

Is this possible?


Thanks in advance for your Help.

Gary.N

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests