October 21, 2024
Chicago 12, Melborne City, USA
HTML

regex for matching plain text in html works in small files but crashes in larger files in vscode


Im using this regex-

>\s?([a-zA-Z0-9$&+,:;=?@#|'.\-^*()%!]+\s[a-zA-Z0-9$&+,:;=?@#|'.\-^*()%!]+)+\s?<

seem to do exactly what i want but obviously very inefficient and ugly.

I’m not trying to parse html so don’t come at me with that.

For now will be used to search stuff in patch files using vscode.

how can i improve this?



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video