Hello i got following regex


And problem, while it works on site i did designed it http://gskinner.com/RegExr/ it wont work with notpad++, could someone help me correcting that Regex to make it work with Notepad++? And maybe give link to some guide that explains these diffrences between diffrent variations of RegEx?

More details

Im trying to use it for search and replace of some values in xml file, ofcourse regular expressions option is selected in Notepad++ search box. Alternatively i would need regex that allows to find


and here is example of what document, I'm working on, looks like

<draw:frame text:anchor-type="page" text:anchor-page-number="1" draw:z-index="41" draw:name="Picture 23" draw:style-name="abe" svg:width="9.207cm" svg:height="6.913cm" svg:x="0cm" svg:y="0cm">
  • A little more detail please. What are you trying to do? What does it do that you dont expect? – Sirch Jul 12 '12 at 12:57
  • 1
    Provided sample data and regular expression causes height="6.913cm" to be selected when I run it through Notepad++'s Find & replace. Settings: Regular expression, wrap around, direction down. Everything else is unchecked / deselected. – Darth Android Jul 12 '12 at 14:39

The problems was most likely caused either by old version of Notepad++, my problem occured with version (UNICODE) or because of plugin Oberon2LexerU.dll that got disabled during update to version 6.1.5 (UNICODE). Which was exact cause i could not actually determine since i followed hunch when I've readed comment by Darth Android i figured that there might be problem with version i got. After update all seems to work as expected.

Thanks for help!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.