search for (dateFormat|dateTimeFormat) and you'll get the first 4 of those 5:
dateFormat
dateTimeFormat
dateFormatBlaBla
dateTimeFormatBlaBla
dateIamNotFoundFormat
You need to say at least sth. like this (dateTimeFormat[ \n\r\f]|dateFormat[ \n\r\f])
to eliminate line 3 and 4 too.
Take those extensions to the beginning of the word to also eliminate words like
"myPrefixDateTime"
rds Bego
Normally using all newest english version incl. each hotfix. Win 10 64 bit
Yes, use with Unix regular expression (dateFormat|dateTimeFormat) and also check Match Whole Word Only and you should only find "dateFormat" or "dateTimeFormat".
Best regards from an UC/UE/UES for Windows user from Austria
As i have read normally there is a possibility to define groups with (xy) and to add ?, + , * to repeat that phrase in ( ). How is this done in UltraEdit ? Is this part missing in UltraEdit.
If you have the replace dialog open, there is a help button. Click on this button and you will get the help. Read it and follow the link to regular expression. Read it carefully, especially but not only the Unix section.
If you do not have success to find the correct expression by yourself, ask again here for help and also add an example how the 4 lines above should look like after the replace.
Best regards from an UC/UE/UES for Windows user from Austria
i have read the help and some helps on the internet and didn't have success.
the topic is about a regex, which finds all the above strings. the string konsist of groups which are optional. so normally i would expect a regex like this
But as i mentioned i am missing the opportunity of ()? or ()*. I read that in unix notation this should be possible, but UltraEdit does't recognize the ().
You should read about Unix regular expression syntax of ULTRAEDIT and not a general Unix regular expression help! What I have wrote above?
UltraEdit's Unix regular expression implementation is not comparable to real Unix regular expression search feature. It is not as powerful as real Unix regular expression. It's just UltraEdit style regular expression with other characters according to Unix style.
The brackets for example are described in the help of UltraEdit as follows:
(expression)
Brackets or tags an expression to use in the replace command. A regular expression may have up to 9 tagged expressions, numbered according to their order in the regular expression.
The corresponding replacement expression is \x, for x in the range 1-9. Example: If (h.*o) (f.*s) matches "hello folks", \2 \1 would replace it with "folks hello".
In real Unix regexp a bracket is used for optional. But in UltraEdit as described it has a total different meaning and does not mean optional.
Now read the help of UltraEdit and think about it.
Best regards from an UC/UE/UES for Windows user from Austria