Ronan Klyne wrote:
> Jose Pablo Sarco wrote:
>> Hi all,
>>
>>  
>>
>> I need extract a text fragment from a response; but I can't....
>>
>>  
>>
>> I have this response:
>>
>>  
>>
>> <body id="Cuerpo" bgColor="white" MS_POSITIONING="GridLayout">
>>
>>                         <form name="Form1" method="post"
>> action="inicial.aspx" id="Form1">
>>
>> <input type="hidden" name="__VIEWSTATE"
>> value="dDwtNjU0MzcyMTk1Ozs+qZfVfcYctwfb7Hr0k1YwEAUO1W0=" />
>>
>>             <script language='vbscript'> window.open
>> "wflogin.aspx?version=PRE-PRODUCCION BRASIL - v.6.30&scrW=" &
>> window.screen.width & "&scrH=" & window.screen.height & "&brow=" &
>> trim(split(window.clientInformation.appVersion,";")(1)),  "",
>> "toolbar=no,menubar=no,status=yes,top=0,left=0,width=" &
>> cint(window.screen.Width) - 10 & " ,height=" &
>> cint(window.screen.Height) - 78   </script>
>>
>>  
>>
>> I need the text "PRE-PRODUCCION BRASIL - v.6.30" that also can be
>> "ARBUEAP07 - ARG/ARF/VEN/CHI Version SAP - v.5.42".......
>>
>>  
>>
>> I added an expression regular extractor, but I can extract the fragment
>> that I need, I can extract "PRE-PRODUCCION BRASIL - v.6.30&scrW=" &
>> window.scre"; 
>>
>>  
>>
>> Any idea?
> 
> I'd use a regular expression extractor, with the template $1$ and this
> expression:
> 
> wflogin.aspx?version=([^&]*)&

Ooops. Make that this:

wflogin\.aspx\?version=([^&]*)&

(I forgot to escape my special characters)

>>  
>>
>>  
>>
>> Regards,
>>
>>  
>>
>> Jose
>>
>>
>> #################################################################################################################
>> Este documento puede incluir información confidencial y propiedad de Neoris 
>> y deberá ser leído solamente por la 
>> o las personas a quienes está dirigido. Si usted ha recibido este mensaje 
>> por error, por favor avise 
>> inmediatamente al remitente contestando y eliminando este correo. Cualquier 
>> punto de vista u opiniones expresadas 
>> en este mensaje son del remitente y no necesariamente coinciden con aquellas 
>> de Neoris. Este documento no deberá 
>> ser reproducido, copiado, distribuido, publicado, ni modificado por terceros 
>> sin la autorización por escrito de Neoris. 
>>
>> Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com. 
>>
>>
>>
>> This document may include proprietary and confidential information of 
>> Neoris, and may only be read by those 
>> person or persons to whom it is addressed. If you have received this e-mail 
>> message in error, please advise 
>> the sender immediately by reply e-mail and delete this message. Any views or 
>> opinions expressed in this e-mail 
>> are those of the sender and do not necessarily coincide with those of 
>> Neoris. This document may not be reproduced,
>> copied, distributed, published, modified or furnished to third parties, 
>> without the prior written consent of 
>> Neoris.
>>
>> This e-mail message has been scanned for viruses and cleared. Visit us at 
>> www.neoris.com
>> ##################################################################################################################
>>
> 
> 


-- 
Ronan Klyne
Business Collaborator Developer
Tel: +44 01189 028518
[EMAIL PROTECTED]
www.groupbc.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to