Migrating code in Word! HELP!

Hi guys,

I need to create a migrator, for now I using Word, macros and replace text. So, my question is this:

How to replace for example:

Object room_1 “Room 1” (… room 2… and so on)

with something like this?

(… room 2 …and so on)

I mean with just one replacement, keeping the room number, without creating a replace text for each room.

Is there any other tool I can use to do this?

Thank you,

Depending on the exact structure of the text… en.wikipedia.org/wiki/Regular_expression
List of regular expression software


What is meant by “Now you have two problems”?