'Write regex pattern in java to work for multiple && condition
This is pattern ^\w+\.\w+ *= *.+$ that works for parent.child1=value11.
This is pattern ^\w+\.\w+ *= *.+ *&& *\w+\.\w+ *= *.+$ that works for this parent.child1=value1 && parent.child2=value2.
Is there an easier way to write a RegEx pattern that will work for both? Even more to work for multiple && condition(cond1 && cond2 && cond3...)?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
