P
pkaraffa
I am new to regular expressions and trying to understand a little
better. I have a formula that Ron Rosenfeld wrote The first one will
Parse the middle initial followed by a dot (A.) and the second one
will parse the middle initial the (A) .How do I get one formula to
parse a middle initial if it has a . or not?
Thanks in advance
PJ
Jim A. Jones
Jim A Jones
=REGEX.MID(TRIM(A2),"(?<=\s)(\w.+\s)+")
=REGEX.MID(TRIM(A3),"(?<=\s)(\w+\s)+")
better. I have a formula that Ron Rosenfeld wrote The first one will
Parse the middle initial followed by a dot (A.) and the second one
will parse the middle initial the (A) .How do I get one formula to
parse a middle initial if it has a . or not?
Thanks in advance
PJ
Jim A. Jones
Jim A Jones
=REGEX.MID(TRIM(A2),"(?<=\s)(\w.+\s)+")
=REGEX.MID(TRIM(A3),"(?<=\s)(\w+\s)+")