Sorry I'm still a bit of a noob, but I'm pulling my hair out here trying to get this to work right, hoping someone here can help me. I'm trying to search source but I can't figure out how to get the extract right.

This is my imacros code I come up with

Code: Select all

`SEARCH SOURCE=REGEXP:"answer == \"([^']+)"\" EXTRACT="$1"`

Here is the line from the source page I'm extracting from

Code: Select all

```
if(answer == "five" || answer == "FIVE" || answer == "Five" || answer == 5) {
```

This is the result from my script I get in my prompt

Code: Select all

`five" || answer == "FIVE" || answer == "Five`

How do I get just five or 5 to show in the prompt?