I need to ignore >in my regex first.
>
My regex is:
/(>(.+)(?=<\/a>))/igm
Corresponds to the following:
How do I say to be ignored at first >?
Here is the regex on regexr.com.
A possible workaround is to match non- >characters:
[^>]+(?=<\/a>)
regex101 demo
Or you take a substring of each of your results in the code itself.
You can use:
.*?>(\w+)<
Here you can check a working example:
Demo version of Debuggex
Source: https://habr.com/ru/post/1546621/More articles:Smoothing a tiered list - linked-listto detect if socket.io emit is not working - node.jsExcel VBA - How to force to close ADO connection? - vbaПочтовые строки в файле со списком и итерацией - pythonPHP syntax syntax in high text - phpUnable to fetch instance (haskell error) - setA loop variable cannot be resolved by a variable after a loop - javaWork with unsuccessful futures - futuree.dataTransfer.setDragImage при полной непрозрачности - html5Как использовать BackgroundSubtractorMOG в OpenCV 3.0.0 с Java? - javaAll Articles