This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I go to: Edit->Find In projects, I mark the 'selection' in the radio buttons. Original Text: <html:hidden property="workspaceId" value="<%=(String)request.getAttribute("workspaceId")%>"/> Find: "(<%=[a-zA-Z\.\(\)"]{0,}"[a-zA-Z\.\(\)"]{0,}%>)" Replace With: '$1' Text Expected: <html:hidden property="workspaceId" value='<%=(String)request.getAttribute("workspaceId")%>'/> Text Retuned (Bug): '$1' The IDE replaces it with '$1', not with the text that it matched from the parentheses. If I do the same on the same files by using the find and Replace through 'Ctrl-H' : it works fine. Note: If I give '$0' instead of '$1' it works fine again. But it is not what I want, because it gives the whole sentence that has been found.
On the second line I mean: Edit->Replace In projects
Need look closer on what's the reason of behavior difference.
After deeper look I realized that all the difference was due to bad copypast :) In 6.8 dev builds replace in projects works exactly as you expecting. Closing as WFM