Regex to match everything until pattern with an exception in it

前端 未结 0 914
甜味超标
甜味超标 2021-02-06 18:16

This is my regex

\\d+%[^\\.][^0-9]*?((?!original).)percentage*

And I want it to match from a percentage (i.e. 10%) until the word percentage

相关标签:
回答
  • 消灭零回复
提交回复
热议问题