PDA

View Full Version : Replaceing in File


Vijesh
07-22-2010, 02:01 PM
Hello,

I need to replace a radom generating GUID in a file through the "Relace in File" action.

That means i need to replace the following:
SolutionID="<GUID>" with SolutionID="<MyValue>"

Since i'm not aware of the exact value i need to replace (GUID), what should i give in Text or Regular expression to find.

Thanks,
Vijesh

kinook
07-22-2010, 03:29 PM
See attached sample.
http://www.kinook.com/VisBuildPro/Manual/regex.htm

Vijesh
07-22-2010, 03:33 PM
I have already gone through the same. I found "Any Character" to change even digits or character, but i could find any to help to replace a particular part of line.

If would appreciate if you can send me the regular expression.

Thanks in advance.

kinook
07-22-2010, 03:37 PM
That will replace only the GUID within the file (leaving any other text before/after it on the same line or other lines). It's not clear to me exactly what you're asking -- please provide more detail.
http://www.kinook.com/Forum/showthread.php?threadid=3044

Vijesh
07-22-2010, 03:43 PM
Its my Bad, I didn't see the attachemnt you added.
That worked fine and fix my issue. That is what exactly i'm looking for.
I really appologize

Thanks alot and Thanks for your time.