



It matches the spaces that come between two UPPER, or the spaces between two DIGITS, or the spaces between a digit and an upper in either order. That has nothing to do with the example data you showed above.īut given the description I just made, the expression you listed matched everything I expected in my example text below: That is saying “turn off case-insensitive-match there must be an uppercase or digit, then reset the match, then find a space that is followed by uppercase or digit”. That’s a very different expression than I gave you, or than what was necessary to match text in your screenshot. That’s why I pointed you to those posts, because they explain the importance of providing sample data that actually matches the data that you have. Well, you haven’t given any example data that doesn’t match your expression. (If case insensitive is on, obviously uppercase and lowercase will both match, by definition of case insensitive) \u only matches uppercase, unless you have case-insensitive match turned on. If you had followed the advice given in “ Please Read Before Posting” (which you should have seen immediately below the New Topic button that you clicked):Īnd the advice it links to in the “ Template for Search/Replace Questions” and “ Forum Formatting Posts” FAQ entries, you would have been instructed how to present your question in a way that left no ambiguity as to which was the “right” quote characters for your do you make $\u and "\u only pull UPPER case instances? Please note that your examples sometimes had " and sometimes had “ – those are two different characters. So \$\u will match any uppercase letter that comes after a literal dollar sign. To search for a literal dollar sign, you need to escape with \ it so it will be treated as a literal character: \$. So "\u will match every time there’s a quote followed by an upper case.

Regex have prebuilt character classes which will help with your search in your case, \u will search for an upper-case letter. But in regex mode, $ means “end of line”, not a literal dollar sign. For | to work as logical-OR, you have to be in Regular Expression mode.
