View Single Post
Old 12-30-2012, 03:19 PM   #1118
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: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by iatheia View Post
Small question. In the replace metadata part, how to make it replace something only if the entire string matches, and not just some part of it?
For example, there is a category called K. I am trying to rename it into K Project, but since some sites do have it written like that, I don't want to end up with K Project Project.
If it's one string in the category list, matching for pattern ^K$ should catch only 'K' by itself. ^ and $ specify beginning and end of string.

If that doesn't work, it would be easiest if you post a story URL and I'll play with it.
JimmXinu is offline