How do I exclude first two capital letters of a word using regex on Google spreadsheet?How do I make the first letter of a string uppercase in JavaScript?How to negate specific word in regex?Notepad++ Capitalize Every First Letter of Every WordXSD Regex: Capitalize first letter of each wordCapitalize first letter after special charactersREGEX to find the first one or two capitalized words in a stringPython regex pull first capitalized word or first and second words if both are capitalizedRegex to remove all two letter words but exclude certainHow to find and extract first letter capitalized words from text in rExtract capital letters from word boundary

On which topic did Indiana Jones write his doctoral thesis?

Why isn't nylon as strong as kevlar?

what to look for in luxury cars like Acura/Lexus

How wide is a neg symbol, how to get the width for alignment?

What is the difference between 'unconcealed' and 'revealed'?

As matter approaches a black hole, does it speed up?

Purpose of のは in this sentence?

how to overfit?

What matters more when it comes to book covers? Is it ‘professional quality’ or relevancy?

Why was the battle set up *outside* Winterfell?

Are there any Final Fantasy Spirits in Super Smash Bros Ultimate?

Shantae Dance Matching

Using a microphone from the 1930s

Why are prions in animal diets not destroyed by the digestive system?

why do people keep saying me that I am a horrible photographer?

Can my company stop me from working overtime?

Is there an idiom that support the idea that "inflation is bad"?

Can Infinity Stones be retrieved more than once?

How adjust and align properly different equations

String won't reverse using reverse_copy

What are the differences between credential stuffing and password spraying?

What is the name of this hexagon/pentagon polyhedron?

How might a mountain bowl form?

How do I tell my manager that his code review comment is wrong?



How do I exclude first two capital letters of a word using regex on Google spreadsheet?


How do I make the first letter of a string uppercase in JavaScript?How to negate specific word in regex?Notepad++ Capitalize Every First Letter of Every WordXSD Regex: Capitalize first letter of each wordCapitalize first letter after special charactersREGEX to find the first one or two capitalized words in a stringPython regex pull first capitalized word or first and second words if both are capitalizedRegex to remove all two letter words but exclude certainHow to find and extract first letter capitalized words from text in rExtract capital letters from word boundary






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








-3















I have few words in a column on Google spreadsheet.



E.g. TTTyyy, AAAbbb, JJJkkk etc



I want to extract the word by excluding the first two capital letters.



Desired output is



Tyyy from TTTyyy, Abbb from AAAbbb, Jkkk from JJJkkk etc










share|improve this question






















  • Please post code snippets of what you have tried.

    – Mocha
    Mar 22 at 22:16











  • Are the first two letters always capital letters or do you have to check for that?

    – ArSeN
    Mar 22 at 22:18











  • Mocha - I've not tried anything. New to regex.

    – Joemon T Henry
    Mar 22 at 22:23












  • ArSen - Good question. I have few of them without first two capital letters, it is either three capital letters or one capital letter. In case of one capital letter the output should be the same word. E.g For Tyyy output should be same word, Tyyy

    – Joemon T Henry
    Mar 22 at 22:23


















-3















I have few words in a column on Google spreadsheet.



E.g. TTTyyy, AAAbbb, JJJkkk etc



I want to extract the word by excluding the first two capital letters.



Desired output is



Tyyy from TTTyyy, Abbb from AAAbbb, Jkkk from JJJkkk etc










share|improve this question






















  • Please post code snippets of what you have tried.

    – Mocha
    Mar 22 at 22:16











  • Are the first two letters always capital letters or do you have to check for that?

    – ArSeN
    Mar 22 at 22:18











  • Mocha - I've not tried anything. New to regex.

    – Joemon T Henry
    Mar 22 at 22:23












  • ArSen - Good question. I have few of them without first two capital letters, it is either three capital letters or one capital letter. In case of one capital letter the output should be the same word. E.g For Tyyy output should be same word, Tyyy

    – Joemon T Henry
    Mar 22 at 22:23














-3












-3








-3








I have few words in a column on Google spreadsheet.



E.g. TTTyyy, AAAbbb, JJJkkk etc



I want to extract the word by excluding the first two capital letters.



Desired output is



Tyyy from TTTyyy, Abbb from AAAbbb, Jkkk from JJJkkk etc










share|improve this question














I have few words in a column on Google spreadsheet.



E.g. TTTyyy, AAAbbb, JJJkkk etc



I want to extract the word by excluding the first two capital letters.



Desired output is



Tyyy from TTTyyy, Abbb from AAAbbb, Jkkk from JJJkkk etc







regex






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 22 at 22:13









Joemon T HenryJoemon T Henry

1




1












  • Please post code snippets of what you have tried.

    – Mocha
    Mar 22 at 22:16











  • Are the first two letters always capital letters or do you have to check for that?

    – ArSeN
    Mar 22 at 22:18











  • Mocha - I've not tried anything. New to regex.

    – Joemon T Henry
    Mar 22 at 22:23












  • ArSen - Good question. I have few of them without first two capital letters, it is either three capital letters or one capital letter. In case of one capital letter the output should be the same word. E.g For Tyyy output should be same word, Tyyy

    – Joemon T Henry
    Mar 22 at 22:23


















  • Please post code snippets of what you have tried.

    – Mocha
    Mar 22 at 22:16











  • Are the first two letters always capital letters or do you have to check for that?

    – ArSeN
    Mar 22 at 22:18











  • Mocha - I've not tried anything. New to regex.

    – Joemon T Henry
    Mar 22 at 22:23












  • ArSen - Good question. I have few of them without first two capital letters, it is either three capital letters or one capital letter. In case of one capital letter the output should be the same word. E.g For Tyyy output should be same word, Tyyy

    – Joemon T Henry
    Mar 22 at 22:23

















Please post code snippets of what you have tried.

– Mocha
Mar 22 at 22:16





Please post code snippets of what you have tried.

– Mocha
Mar 22 at 22:16













Are the first two letters always capital letters or do you have to check for that?

– ArSeN
Mar 22 at 22:18





Are the first two letters always capital letters or do you have to check for that?

– ArSeN
Mar 22 at 22:18













Mocha - I've not tried anything. New to regex.

– Joemon T Henry
Mar 22 at 22:23






Mocha - I've not tried anything. New to regex.

– Joemon T Henry
Mar 22 at 22:23














ArSen - Good question. I have few of them without first two capital letters, it is either three capital letters or one capital letter. In case of one capital letter the output should be the same word. E.g For Tyyy output should be same word, Tyyy

– Joemon T Henry
Mar 22 at 22:23






ArSen - Good question. I have few of them without first two capital letters, it is either three capital letters or one capital letter. In case of one capital letter the output should be the same word. E.g For Tyyy output should be same word, Tyyy

– Joemon T Henry
Mar 22 at 22:23













1 Answer
1






active

oldest

votes


















0














Googlesheets uses REGEXETRACT: Google finds REGEXETRACT regex syntax



Cell C2
="TTTyyy":



A cell like B2
=REGEXEXTRACT(C2,"[A-Z]1[a-z]+")



You can look up the regex in the reference:[A-Z] captures caps and 1 limits the caps to one; then [a-z] captures lowercase letters "+" one or more.






share|improve this answer























  • hdunn - Thank you. Got the desired output.

    – Joemon T Henry
    Mar 22 at 23:08











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55308449%2fhow-do-i-exclude-first-two-capital-letters-of-a-word-using-regex-on-google-sprea%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Googlesheets uses REGEXETRACT: Google finds REGEXETRACT regex syntax



Cell C2
="TTTyyy":



A cell like B2
=REGEXEXTRACT(C2,"[A-Z]1[a-z]+")



You can look up the regex in the reference:[A-Z] captures caps and 1 limits the caps to one; then [a-z] captures lowercase letters "+" one or more.






share|improve this answer























  • hdunn - Thank you. Got the desired output.

    – Joemon T Henry
    Mar 22 at 23:08















0














Googlesheets uses REGEXETRACT: Google finds REGEXETRACT regex syntax



Cell C2
="TTTyyy":



A cell like B2
=REGEXEXTRACT(C2,"[A-Z]1[a-z]+")



You can look up the regex in the reference:[A-Z] captures caps and 1 limits the caps to one; then [a-z] captures lowercase letters "+" one or more.






share|improve this answer























  • hdunn - Thank you. Got the desired output.

    – Joemon T Henry
    Mar 22 at 23:08













0












0








0







Googlesheets uses REGEXETRACT: Google finds REGEXETRACT regex syntax



Cell C2
="TTTyyy":



A cell like B2
=REGEXEXTRACT(C2,"[A-Z]1[a-z]+")



You can look up the regex in the reference:[A-Z] captures caps and 1 limits the caps to one; then [a-z] captures lowercase letters "+" one or more.






share|improve this answer













Googlesheets uses REGEXETRACT: Google finds REGEXETRACT regex syntax



Cell C2
="TTTyyy":



A cell like B2
=REGEXEXTRACT(C2,"[A-Z]1[a-z]+")



You can look up the regex in the reference:[A-Z] captures caps and 1 limits the caps to one; then [a-z] captures lowercase letters "+" one or more.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 22 at 22:59









hdunnhdunn

612




612












  • hdunn - Thank you. Got the desired output.

    – Joemon T Henry
    Mar 22 at 23:08

















  • hdunn - Thank you. Got the desired output.

    – Joemon T Henry
    Mar 22 at 23:08
















hdunn - Thank you. Got the desired output.

– Joemon T Henry
Mar 22 at 23:08





hdunn - Thank you. Got the desired output.

– Joemon T Henry
Mar 22 at 23:08



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55308449%2fhow-do-i-exclude-first-two-capital-letters-of-a-word-using-regex-on-google-sprea%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript