Thanks Paul,
I think it will be great to share our tips in a wiki page. I will open one
soon...
Jacques
From: "madppiper" <[email protected]>
Well, the feature itself uses the standard java regular expressions and is
actually fairly simple to understand. I would recommend to have a go at
regular expressions before trying that feature. For instance, you can try
http://www.gskinner.com/RegExr/
or
http://www.regextester.com
to test the results. Another great read is also:
http://java.sun.com/developer/technicalArticles/releases/1.4regex/
Be aware that there are different types of regexp. So not all commands may
work (luckily, eclipse displays the available commands on the input dialog)
Btw, a great one I use quite often is this: <TAG\b[^>]*>(.*?)</TAG>
It'll grab the start and ending ending of a specified html tag. You can then
use the select the inner element using $1 :)
--
View this message in context:
http://www.nabble.com/How-to-use-Regular-Expression-for-Search---Replace-in-Eclipse---tp22593950p22596320.html
Sent from the OFBiz - User mailing list archive at Nabble.com.