I have some CSS code in my document include left and right words.
I need to replace right
=> left
and left
=> right
.
Is possible in PhpStorm or Notepad++ to replace these words simultaneous ?
I have some CSS code in my document include left and right words.
I need to replace right
=> left
and left
=> right
.
Is possible in PhpStorm or Notepad++ to replace these words simultaneous ?
Using Notepad++
(right)|(left)
(?1left:right)
Explanation:
(right) # group 1
| # OR
(left) # group 2
Replacement:
(?1 # if group 1 exists
left # replace with left
: # else
right # replace with right
)
Screen capture (before):
Screen capture (after):