Trying to get all the words in text nodes which start with a capital letter, trying
SelectNodes("//*[contains(text(), [A-Z])]");
but wont compile, I'm new to regex and i really can't find anything, looked everywhere.
Trying to get all the words in text nodes which start with a capital letter, trying
SelectNodes("//*[contains(text(), [A-Z])]");
but wont compile, I'm new to regex and i really can't find anything, looked everywhere.
Try this:
SelectNodes("//*[matches(text(), '^[A-Z]')]");
However, you may need to follow these steps before it will work.