Showing posts with label regex. Show all posts
Showing posts with label regex. Show all posts

Sunday, November 8, 2009

Remove in xml/html file

Find: ^\s*<!--((?!-->).)+-->\s*\n
Replace by empty
Regular Expression: Yes
Option: - Multiline: Yes; Single line: Yes

Tuesday, July 21, 2009

Option in Expresso



Sunday, July 12, 2009

Get field name from schemas

1. Remove unnessesary lines
Find: ^(~(name\=)~(\).)+\n
Rep:
2 Remove unnessessary words
Find: ^(~(name).)+name\=\"{[^"]+}\".+\n.+documentation\>{[^<]+}\<.+
Rep: \1#\2
3. Manually check and clean-up