svruss
15 years agoOccasional Contributor
Regular expression in FindChild method
Hello,
Todaty, my question is about correct syntax on regular expression in FindChild method. I have follow code part:
selectElement = page.FindChild( new Array( "ObjectType", "innerText" ), new Array( "Panel", "*"+element+"$"+"*" ),100);
where variable element is part of multi row string. I try to catch element and end row after it, but my current C#script code is wrong. Can help me?
Best Regards,
Svetoslav
Todaty, my question is about correct syntax on regular expression in FindChild method. I have follow code part:
selectElement = page.FindChild( new Array( "ObjectType", "innerText" ), new Array( "Panel", "*"+element+"$"+"*" ),100);
where variable element is part of multi row string. I try to catch element and end row after it, but my current C#script code is wrong. Can help me?
Best Regards,
Svetoslav