1

I have this text:

"Invalid value of \"parameter\" set for \"goodProfile[1]/betterProfile[1]/bestrProfile[1]\". Nearest valid value is \"FollowInput.\""

I need a regex accepting this string as well as all strings that contain the substring goodProfile[...]/betterProfile[...]/bestrProfile[...] where the string in the brackets has to be a number.

Since I'm not very experienced with Regexes, I'm getting a little lost. Can anyone help?

1 Answer 1

1

You can use this regex:

goodProfile\[[0-9]+\]\/betterProfile\[[0-9]+\]\/bestrProfile\[[0-9]+\]
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.