I am a begginer in Regular expressions. I am trying to write a regex to print out a specific string in a sentence.
For example: "We've found questions similar to yours"
I would like to create a regex for the word "found" and "yours". whenever found is matched OR yours is matched print the word.
Basically i just need to know how the OR statement works in this case.
regex.match("found" OR "yours") ???
View Complete Post