How to search using regular expression in delphi 7 [duplicate]

1

In delphi 7 when opening the search dialog box: CTRL + F and selecting the option: Regular Expressions would like to find anything starting with the word GPField and ending with IsNull

For example, I have the following code:

if GPField('TABELATAXAS').IsNull then 
if GPField('TABELACARNE').IsNull then

I would like to search for something like:

GPField*IsNull

What would bring me the two lines of code above.

How could I do this?

    
asked by anonymous 06.06.2018 / 14:51

1 answer

3
GPField.*IsNull

The expression will be true for any character ( . ) that appears 0 or n times ( * ) between GPField and IsNull , bringing the lines you mentioned in your question.

    
06.06.2018 / 15:23