Vlad's solution to "Regex to find match of 2 strings in order"

Hi Qdev, <\/p>\n\n

If I understand correctly I think this is what you need: <\/p>\n

Domain2<\/span>\\.<\/span>com<\/span>.*<\/span>domain4<\/span>\\.<\/span>com<\/span>\n<\/pre><\/div>\n

The important bit is to have .*<\/code> in between the nodes.<\/p>\n\n

Test: https://regex101.com/r/vFoxoq/1<\/a><\/p>\n

Hi Qdev, If I understand correctly I think this is what you need: ``` Domain2\.com.*domain4\.com ``` The important bit is to have ```.*``` in between the nodes. Test: https://regex101.com/r/vFoxoq/1
Hi Qdev, If I understand correctly this is what you need: ``` Domain2\.com.*domain4\.com ``` ``` This is to test that Domain2.com is before domain4.com. The important bit is to have ```.*``` in between the nodes. Test: https://regex101.com/r/vFoxoq/1

User: Vlad

Question: Regex to find match of 2 strings in order

Back to question