thank you so much! i used the \s* and your suggestion worked too!
i am encountering another issue with my expression maybe you can help me
out:
Reference name: newUserid
Regular EXpression :N=(.+?)&A=(.+?)'\)'
onclick='javascript:sink(event\)' \style=' text-decoration:none;'>
${newUserid_g1}&A=${newUserid_g2}
the reg exp did not work :(
sebb-2-2 wrote:
>
> On 16/02/2010, mai_garduce <[email protected]> wrote:
>>
>> this regex works now but i want to rewrite this in a better way:
>>
>> if/s(keycode/s==/s13/s&&/sinput.type/s!=/s"textarea")/s{
>>
>> /s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/sjsSubmit\('http://www.test.com/test/JopletManager?(.+?)'%5c)
>
> /s is not a space.
>
> If you want to match multiple spaces, use
>
> \s+
>
> Or, for an exact number:
>
> \s{12}
>
> Min/Max
>
> \s{2,5}
>
>> --
>> View this message in context:
>> http://old.nabble.com/how-to-manage-spaces-in-the-reg-expression-tp27605565p27605565.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://old.nabble.com/how-to-manage-spaces-in-the-reg-expression-tp27605565p27633540.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]