Hi,
I need a validation using regex just the pattern i have. The user has to enter digits and after the digits one letter. User can have up to six digits or less
eg:

I don't mean the number zero, I mean a count of zero. You said "six digits or less". Zero is less than six. So is "(A)" valid or does it have to have at least one digit?

I don't mean the number zero, I mean a count of zero. You said "six digits or less". Zero is less than six. So is "(A)" valid or does it have to have at least one digit?

Momerath, I can see you are pretty familiar with Regex. But Iam not. I would like to learn then more.
So I will ask right here. How to do (seperate) the regex, that will check for more conditions?
Is the seperator the backslash '\'? Or how would be the easiest way to combine it?

Momerath, I can see you are pretty familiar with Regex. But Iam not. I would like to learn then more.
So I will ask right here. How to do (seperate) the regex, that will check for more conditions?
Is the seperator the backslash '\'? Or how would be the easiest way to combine it?

It really depends on what kind of conditions you want to check.

And no, the \ is an escape character, if you have conditions that you want to check and it needs to match one of, you use the | character, for example "[a|s|z]" would mean it needs to be one of 'a' or 's' or 'z'.

Need some help with this Array. I am trying to get the sum of the even numbers and the sum of the odd numbers using a for each loop. I know the answers to what I am trying to achive are sum of even = 84 and the sum of ...

When I execute this progammatically, I get a table with row heights much larger than when I do this manually.

Note : Sel is the Word.Selection object and the Clipboard contains an Excel Table.

public void AddClipboard()
{
Sel.PasteExcelTable(false,false, false);
var t = Sel.Tables[Sel.Tables.Count];
t.AutoFitBehavior(Word.WdAutoFitBehavior.wdAutoFitContent);
}

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...