Skip to main content
Inspiring
Dec 15, 2020 10:21 PM UTC
Question

Find with Regular Expressions: Find a cross-reference text range

Hello fellows,

When using the FM "Find" menu, is there a way to find an xref text range and select it?

Thanks!

    This topic is closed to new replies. Start a new post to keep the conversation going.

    8 replies

    Community Expert
    Dec 16, 2020 7:23 AM UTC

    Hi,

     

    You can just select one of these Find items: Cross-Reference Any/Of Format/Unresolved

    Then it will select the cross-reference.

    Is this what you are looking for?

     

    Best regards

     

    Winfried

     

    Translate
    Rom_BaAuthor
    Inspiring
    Dec 16, 2020 7:34 AM UTC

    Hi Winfried,

    Thank you for your response!

    The xrefs are just part of the string I'd like to select and delete. The string looks like as follows:

     

    (xref_string [digit:digit]), where the [digit:digit] part is just plain text. 

    The problem is that there are other xrefs of the same format which are not enclosed in parantheses that I need to keep intact.

     

    Best Regards,

    Roman

    Translate
    Community Expert
    Dec 16, 2020 7:39 AM UTC

    Hi Roman,

     

    I do not think that you can automate this, at least not without a script.

     

    Best regards

     

    Winfried

    Translate
    Bob_Niland
    Community Expert
    Community Expert
    Dec 16, 2020 12:54 AM UTC

    According to the Help, at least some of the fields accept Regular Expressions, including ranges.

    Translate
    Rom_BaAuthor
    Inspiring
    Dec 16, 2020 5:37 AM UTC

    Hi Bob,

    Thank you for your response. This statement is not clear. There are just a limited number of REGEX arguments that the Find function understands. A period (.) can select an xref in certain cases but it's not consistent.

    Translate