Following regex select some of my list lines:
^.*Angled mage of a product label containing.*\R\K([\s\S]*?)(?=\s*Want to use your own images\?)
and following regex select some other lines of my list:
.*/////////////////////////.*
Now I want to select both regex at same time by a single regex. how can I combine this my two regex?
>Solution :
You can use the "OR" oprator: |
i.e. – either one side or the other will match
(brackets are necessary for the "sides" to be correct, consider using a non capturing group)
(^.*Angled mage of a product label containing.*\R\K([\s\S]*?)(?=\s*Want to use your own images\?))|.*/{25}.*