Hi @cvp , nice, yes no need to clear the search text field! And thanks also for insensitive search!
Sorry if I ask you something else, answer only if it's something that interests you too: is it possible to have a second version of your script that can search text with python Regex? I think a second script for only Regex would be simpler than adding a setting flag (that user could change by executing a script associated to another custom user key) that allows user to switch from regex to simple text and viceversa with your original script.
For example, if I have the console output with a lot of text data and I want to select all text (numbers) after word value:
, I'd like to use the regex pattern (?<=value: )(.*)
in order to highlight all after word value:
(to the new row/line).
Do you think it is possible? I ask you this because, although it is something that would help me a lot, I can't understand how to enable Regex searching by taking inspiration from your update about insensitive search.
Thanks
Bye