im开发者_开发技巧 having a little difficulty in making a regex that will filter an input for me.
if i get a lot of: <option value=1234>text</option><option value=5678>text2</option>
(note that the number is always 4 digits)
and i want the regex to filter the text for me, so i'll have a list of "text\ntext2" etc,
what regex expression do i have to use? im kind of new to regex and i cant figure it out by myself..
thanks in advance!
Something like this:
<option value=\d+>([\w\s\\]+)</option>
I assume you want to search replace within notepad++.
Search for
<option value=\d+>(.*?)</option>
and replace with
\1\n
精彩评论