Regex for URL

Hi,
I would like to extract a URL from a paragraph
Ex : Please click on : http//www.exaple.com/q=idnumber=2578and value=XmlrTS to get the all the values from it. and so…
I have to extract the value in between Click on and To get

@Pratik_Wavhal

1 Like

Hello

Give this pattern a try with a Matches Activity:
(?<=click\son\s:\s).*(?=\sto)
I would make this ‘case insensitive’.

If you want to learn Regex check out New User Regex Megapost:

Hopefully this helps :slight_smile:

1 Like

Hi @SN2

Regex :-

(?<=click on).+(?=to get)

Below is the Screenshot for the same :-
image

https://regex101.com/r/dfgcLP/1

Mark as solution and like it if this helps you :slight_smile:

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4:

1 Like

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