Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. foobar44

    RegExp matching subexpression w/o returning in result

    HI, Is there a way to have a subexpression in a regexp that will be matched (if it exists) but will not be returned in the result string? EXAMPLE: input="FAX: 555.555.5555" re=/(?:FAX.*)\d{3}.\d{3}.d{4}/ so the resulting string would not contain the "FAX: " part?

Part and Inventory Search

Back
Top