Regular Expression extractor question

classic Classic list List threaded Threaded
3 messages Options
SAS
Reply | Threaded
Open this post in threaded view
|

Regular Expression extractor question

SAS
Hi Team,

I am working on developing a framework for web service testing.  came
across an issue where, I want to use a variable name as a flag name.

for example,
<accountNumber>(.+?)<

in this case, "accountNumber" text is stored in variable 'Temp' and I want
to pass it to regular expression as
<"${Temp}">(.+?)<

I am having a challenge when I tried the above approach.  appreciate your
help !!

Thanks

Thanks
SASTRY
Reply | Threaded
Open this post in threaded view
|

Re: Regular Expression extractor question

Shay Ginsbourg
<"\$\{Temp\}">(.+?)<


[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality6&>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality6&>
10/10/18,
4:41:21 PM

On Wed, Oct 10, 2018 at 3:36 PM SAS <[hidden email]> wrote:

> Hi Team,
>
> I am working on developing a framework for web service testing.  came
> across an issue where, I want to use a variable name as a flag name.
>
> for example,
> <accountNumber>(.+?)<
>
> in this case, "accountNumber" text is stored in variable 'Temp' and I want
> to pass it to regular expression as
> <"${Temp}">(.+?)<
>
> I am having a challenge when I tried the above approach.  appreciate your
> help !!
>
> Thanks
>
> Thanks
> SASTRY
>


--

Sincerely,

*Shay Ginsbourg*
*Performance, Automation and Load Testing Expert. *
*​Regulatory Affairs Consultant​ for Medical Software​.*
*Ginsbourg.com (Since 2008)*

Formerly QA Manager of LoadRunner at Mercury Interactive

M.Sc. cum laude in Bio-Medical Engineering
M.Sc. in Mechanical Engineering

Mobile:  +972(0)54-6690915
Email: [hidden email]

Visit my personal page on LinkedIn at:
http://www.linkedin.com/in/shayginsbourg


[image: Shay Ginsbourg on about.me]

Shay Ginsbourg
about.me/shayginsbourg
  <http://about.me/shayginsbourg>Please consider your environmental
responsibility before printing this e-mail.
SAS
Reply | Threaded
Open this post in threaded view
|

Re: Regular Expression extractor question

SAS
Thank you so much for the quick solution.

On Wed, Oct 10, 2018, 09:42 Shay Ginsbourg <[hidden email]> wrote:

> <"\$\{Temp\}">(.+?)<
>
>
> [image: Mailtrack]
> <
> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality6&
> >
> Sender
> notified by
> Mailtrack
> <
> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality6&
> >
> 10/10/18,
> 4:41:21 PM
>
> On Wed, Oct 10, 2018 at 3:36 PM SAS <[hidden email]> wrote:
>
> > Hi Team,
> >
> > I am working on developing a framework for web service testing.  came
> > across an issue where, I want to use a variable name as a flag name.
> >
> > for example,
> > <accountNumber>(.+?)<
> >
> > in this case, "accountNumber" text is stored in variable 'Temp' and I
> want
> > to pass it to regular expression as
> > <"${Temp}">(.+?)<
> >
> > I am having a challenge when I tried the above approach.  appreciate your
> > help !!
> >
> > Thanks
> >
> > Thanks
> > SASTRY
> >
>
>
> --
>
> Sincerely,
>
> *Shay Ginsbourg*
> *Performance, Automation and Load Testing Expert. *
> *​Regulatory Affairs Consultant​ for Medical Software​.*
> *Ginsbourg.com (Since 2008)*
>
> Formerly QA Manager of LoadRunner at Mercury Interactive
>
> M.Sc. cum laude in Bio-Medical Engineering
> M.Sc. in Mechanical Engineering
>
> Mobile:  +972(0)54-6690915
> Email: [hidden email]
>
> Visit my personal page on LinkedIn at:
> http://www.linkedin.com/in/shayginsbourg
>
>
> [image: Shay Ginsbourg on about.me]
>
> Shay Ginsbourg
> about.me/shayginsbourg
>   <http://about.me/shayginsbourg>Please consider your environmental
> responsibility before printing this e-mail.
>