Avatar of peispud
peispud
Flag 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.
Regular Expressions

Avatar of undefined
Last Comment
peispud

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Russ Suter

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
peispud

ASKER
Perfect!   You gave me two great answers with explanation.  

Thank you!
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy