-3

I use this regex, but not work!

href="/name/nm(\d{7})\?ref.*>(.*)</a>.*class="(.*)">(.*)</span>

Link : https://regex101.com/r/JWyIJ2/1

Output:

Catastrophic backtracking has been detected and the execution of your expression has been halted. To find out more what this is, please read the following article: Runaway Regular Expressions

I recommend you launch the debugger in the menu to the left and analyze the data to find out the cause.

Tooti Tooti
  • 109
  • 7

1 Answers1

-1

In my daily job I use this one against very long (more than 1GB) text files: ^[^|]*$