Question about regex in replace
Hello
I need some help using regular expressions in search/replace. For example I have this line:
and want to replace "a=5" with "a = 5". Line 2 should remain unchanged. In Replace text dialog:
Text to find: "\S=\S"
Replace with: ??
(This is just an example, which of course could be solved without regex, reformat code for instance.)
Bye,
Dag.
请先登录再写评论。
(\S)=(\S) by $1 = $2
Dag Welinder wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Thanks! Exactly what I need.