Skip to main content

Hello All,

 

I am fetching a Share Point URL from a column and It has site URL details .

 

https://domainname.net/sites/SiteNumber/Subsite/ListName.aspx    This is the format, And domain name will differ for every entries in list]

 

I need to extract the URL only till Site number that is Ex:  https://domainname.net/sites/SiteNumber for every entry. How can I do this. 

 

 

 

 

Hi @NK01 



 



The Regex 



 



(^https://[wd]*.[wd]*/sites/[wd]*)

 



 



The Regex explanation





 



Regex Usage. (Using Nintex Workflow O365)





 



Result of Log to History





Note: There is escape characters. You need to Search and Replace them.  



 



hope that helps



 


Hi ,



 



I am using Nintex On SharePoint Premise 2019 .



 



Will this still work. 



 



I tried to execute the command and it shows "Command executed successfully" but its not fetching me the url .


I just provide the Regex (Regular Expression) which should work across most .NET languages.





 



Can you provide screenshot of your Regex settings?


You need to specify a variable to store the result.





 



Then display the variable using the Log to History action.



 


Hi @NK01 , did my suggestion help you? 



 



Let me know if you still need help on this matter.


Reply