Quote:
Originally Posted by nynaevelan
Thank you eschwartz it works perfectly.
Ok, Eschwartz: I have another challenging question for you. I have tags like "Romance/International" or "Read - Romance/International". Is there any way to shorten it with a plugboard to the first letter before the "-" and before and after the "/". In other words it would show up as "R - R/I" or "R/I".
I know you are thinking why do I need all this crap, but it is the tags, purchased and series info that goes into collections, and this helps with the PW2 update debacle.
|
I believe this will require a regex, using the {tags:re(search,replace)} template.
I will start working on it -- it's all right, I find it fun, and I've been wanting experience with regex-creation anyway, so any excuse is good.
To clarify: You want to take anything in the format
Quote:
TagStartOptional - TagMiddleRequired/TagEndRequired
|
with NONE of the following three characters except as separators: "/ -" and use ONLY the first letter of each, with separators left in?