I have a string that can be up to 240 characters long and can contain many dashes and in any position. I want to find and extract the string that matches the pattern of “?-####-?” or “?-###-?”
For example, in the data below I want to extract C-8539-C from the the 1st line and F-818-A in the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.