timbo343 Posted January 25, 2019 Posted January 25, 2019 Does anyone know what the string would be for a regex condition that would decide on MINOR or Moderate? I've never worked with regex when it comes to the or statement. Thanks
SimonHooker Posted January 28, 2019 Posted January 28, 2019 What are you trying to achieve? Also just want to be clear that Regex is, by default, case-sensitive though that can be changed. At its simplest, MINOR|Moderate is sufficient - but actually using it depends on what you are trying to achieve, and in which language. I recommend having a look at https://regexr.com/ - it's where I check all my Regex. It has decent documentation and helps explain what is going on as well as illustrating it clearly. 1
timbo343 Posted January 28, 2019 Author Posted January 28, 2019 What are you trying to achieve? Also just want to be clear that Regex is, by default, case-sensitive though that can be changed. At its simplest, MINOR|Moderate is sufficient - but actually using it depends on what you are trying to achieve, and in which language. I recommend having a look at https://regexr.com/ - it's where I check all my Regex. It has decent documentation and helps explain what is going on as well as illustrating it clearly. Cheers, i thought as much but it's working for what i want it to do and thanks for posting a regex help site.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now