View Single Post
Old 02-25-2012, 08:10 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,104
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Sidetrack View Post
I'm having some trouble, I have a number of tags all prefixed with "QC: " that I'd like to extract from the tags column and dump into a custom tags column.

I can get at the tags I want just fine with (^QC[:] [^,]*) but I can't seem to come up regex to exclude the preceding and following tags so I can dump only the QC tags into the custom column.

Any ideas? I'd really rather not apply them one at a time from the edit metadata interface.

Assume this is in Search and replace

<not tested>
Matches anything up to your term, your term, matches anything after your term

(.*)your search term(.*)

the replace into destination column: \2
theducks is offline   Reply With Quote