I am searching for a way to model a RegEx which would give a match for both of these strings when searched for “sun shining”.
the sun is shininga shining sun is nice
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’d use positive lookaheads for each word, like this (and you can add as many as you like):