Find string include "Wild-card characters"
For example:
1.
"300*700"
(setq pattern "`*")
(ssget (list (1 (strcat "*" pattern "*")))
replace "*" -> "x"
return: "300x700"
------------------------------
2.
"abc[123]"
(setq pattern "[`123`]")
(ssget (list (1 (strcat "*" pattern "*")))
replace "[123]"->"[456]"
return: "abc[456]"
cjw, i'm still not following the description of your question.
To find "300*700" where "*" is the actual "*" character, we can use "300`*700" and apparently you already knew this. Similarly to find "[123]", we can use "`[123`]". I wonder if your question is how to perform the replacement for all the matching instances found.
Instead of giving examples, can you tell us what is the actual problem you're trying to solve?