sharmaankit
6 years agoNew Contributor
Unable to search objects using Regex in scripts
I have been working with Regex in scripts and trying to search for all the links on the page which starts with same unique string. Below code is returning zero objects but if i use an (*) at the end...
- 6 years ago
Thanks Tanya,
Regex was fine and i figured it out that if i use "Non-Native Regular Expressions" i need to use doube slash instead of one
This is the updated regex
"regexp:^javascript: topLevelMenus\\['shared'\\].menuClick.*?"