Hello all, My question is two-fold. I finally figured out a grep search and replace pattern that suits my needs. Its a really simple one, but a huge step forward for me.
SEARCH GREP ^([^\t]+)\t([^\t]+)$ REPLACE WITH \2.\rNote: \1\r So my question is this... Is it possible to create a replace pattern that will change the case for \2 to Capitalized case, but only if the included words are 4 or more letters? As an example I have this: Model1495 \t Base cabinet, hardware, and related accessories Which, when run through my grep search and replace becomes this: Base cabinet, hardware, and related accessories. Note: Model1495 But I'd like it to become this (note the capitalized case for words in pattern 2 longer than 4 characters): Base Cabinet, Hardware, and Related Accessories. Note: Model1495 Is this possible? Next question, if I have a list of item names, can I quickly create a text file for each of them? Say my list is simple each item on a new line like so... Item 1 Item 2 Item 3 and I want Item1.txt, Item2.txt, Item3.txt Thanks for the time. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a specific feature request or would like to report a suspected (or confirmed) problem with the software, please email to "[email protected]" rather than posting to the group. -~----------~----~----~----~------~----~------~--~---
