on ‎2017 Feb 27 11:29 AM
There is a way to use regulal expression on Design Studio scripts for filtering text from a dropdwon menu like:
if (element.text != "DO*" ){
//do something
}Thanks
Marco
Request clarification before answering.
Hi Marco,
You can't apply wildcards as per your example. However, you could simulate this using the indexOf() method to search for the existence of a substring within a string. For example:
if (element.text.indexOf("DO")) = -1 ){
//do something
}Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.