Link to home
Create AccountLog in
Avatar of peispud
peispudFlag for Canada

asked on

Pattern for a regular expression

Hi.

I would like some help with a pattern for a regular expression.   The string that I need to find will always have 3 or more "/" characters in the string surrounded by alphanumeric characters.   By that rule, the first or last character cannot be "/".

Between each "/" character, there would be a number of alphanumeric characters but the number of characters and their composition of those characters does vary.

There are no spaces in the string. All the characters are numbers or letters.  By example the string being sought might look like the following.

204A/abcd23/1124343/abc53/213c

 Thank you for your help.
ASKER CERTIFIED SOLUTION
Avatar of Russ Suter
Russ Suter

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of peispud

ASKER

Perfect!   You gave me two great answers with explanation.  

Thank you!