The easiest way is to do the following. It will allow any characters besides newline for the part name.
"It is not possible to release the item .+\.prt because it is locked\. It must first be unlocked\." On Apr 24, 4:49 pm, eve <[email protected]> wrote: > I have a string: > > "It is not possible to release the item platform.prt because it is > locked. It must first be unlocked." > > I want to turn it into regular expression and remove platform.prt, > because it can be any other part name. How do I do that? In java I > can just do * instead of platform.prt and it will work. I see thats > now how VB works. > > Thank you in advance for help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en -~----------~----~----~----~------~----~------~--~---
