creating a tag rule
Through some rule or another I have ended up with a few tags with leading periods. They are multiple word tags that have the period between the words, but they have a leading period. I must have had a rule to delete whatever parent word/tag it was and it left the period (heirarchal shelves)
Since I can't do a search and replace on the period (multiple periods per tag), I was wondering if someone could help me by showing me a quick tag mapper rule or a regex rule that I can use in search replace in edit that would find and delete these leading periods, but retain the others. I have not yet figured out how the rules quite work and the "matches pattern" seems to have me stumped. I can do the keep, remove, split, replace, but "matches pattern" is a toss up for me.
I always thought that it meant that if a certain word was shown anywhere in the tag then it "matched the pattern" and the rule would be applied. It doesn't seem to be that easy. I have looked online and found resources, but (forgive me) I have certain cognitive difficulties that make understanding the terms difficult. I have got a lot of things down pat, but coding and regex, python has always been my Achilles heel.
Please and thank you.
|