regex - How to match all between two words with regular expression -


i have this:

id  560 spec    ... bla bla   blah... blah... +#@% bla bla 43 bla ~ category    other price   $259.95    id  561 spec    more blah blah...  blah... blah... @#$^y% bla bla  bla category    other price   $229.95 

need between spec , category.

work [.[:punct:]\r\n\s\t]+[^category]+ in notepad++ need in c#.

in perl, it's simple /spec(.*?)category/gs. don't know regular expressions in c#, looking non-greedy match-all between 2 words.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -