Grep / Regular Expression Iterator

It would be nice to have a RegEx Iterator.

Options.
Dot Matches newline
Case insenstive
^$ match at line breaks

Match into variable.
Capturing Group Name into Variable (Need to be a List since there can be more than one.)

Replace Match with Regular Expression Value (Needs to support Capturing Group) (I think “Text Replace” may support this now)


I was looking for a quick way to get all of the TODO comments out of my Delphi Source Code.

Just incase someone is intrested... The following RegEx gets all of the TODO: Comments, in delphi source code.

The TODO text is also placed in the named reference "todotext"

(?":("?:{|\(\*)\s?TODO\s?:(?[\w\s]*)(?:}|\*\))|//\s?TODO\s?:(?.*))

I guess that does not work... It thought my
:
(
characters where for a frown :(

It also does not like the less than and greater than characters that where in the expression and stripped them and the containing text.

Robert, the forum software has some issues with some characters. We are hoping to install an update soon, just waiting on updates to some other DNN modules before we install since we will be updating DNN at the same time.