Regex is absolutely my weak point, and I have all completely stalled. I am creating a fairly basic search function and I need to change my user input based on the following template:
Subject:
%22first set%22 %22second set%22-drupal -wordpress
Required Conclusion:
+"first set" +"second set" -drupal -wordpress
I'm sorry that I can’t help, because I usually like to at least post the solution that I have, but I'm at a loss for that.
Any help is appreciated. Thank.
source
share