Remove last double quotes using Regex

I am using a Regex expression to extract the url however I am always getting a extra double quotes at the end. How do we remove the last double quotes. Thanks

Hi

Can you confirm the sample and the expected output?

Are you just trying to remove the quotes at the end of the string?

If you have it extracted with the quotation mark try this:
yourStr.Trim(Chr(34)c)

Try this regex pattern:
https://.+\.[A-z]{3}(?=\W\s)

Cheers

Steve

grafik
(?<=href=").+?(?=")

Hi,

How about using pre-implemented pattern for URL as the following?

Regards,

@marina.dutta

Instead of regex and all…you can actually use get attribute and get the href property which gives the url

Cheers

@Steven_McKeering

Actually I am just trying to extract url . This I got the value from Get attribute.

@Anil_G

Using get attribute and get href I got the following value from where I need to extract url.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.