Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Ruby
Posted by: Mandisi Makwakwa
Added: Jun 4, 2018 8:26 AM
Modified: Jun 4, 2018 8:29 AM
Views: 27
Tags: no tags
Regex xpath from context of a string and a html form table.
  1. xpath=>'//elem[starts-with(@id, "match_var")]/tbody/td[1]'
  2. xpath=>'//elem[matches(@id, "match_var")]/tbody/td[1]'
  3.  
  4.