View Single Post
Old 12-24-2023, 10:05 AM   #9152
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,025
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by DemiGraceling View Post
I am trying to make it so all of the ships have the same formate.
I want:
CharacterA/CharacterB
CharacterA & CharacterB
I have added Lines:
ships=> /=>/
ships=>/ =>/
to remove any spaces on either side of the / but I don't know if there is a way to make sure there is a space on either side of the &.
Try this:
Code:
## You can use \s in the replacement to add explicit spaces.  (The config parser
## tends to discard trailing spaces.)
# ...
 ships=>[ ]*/[ ]*=>/
 ships=>[ ]*&[ ]*=>\s&\s
JimmXinu is offline   Reply With Quote