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!

Regular Expression Help

Status
Not open for further replies.

dsm666

IS-IT--Management
Mar 9, 2004
40
US
I have this line which an application parses, how can I
tell it not look for files with the word test in them instead of what's below. I tried *^test.pgp$ and it didn't work
thanks much

here is that line:

file="^H478TESI.*test.pgp$
 
Without some PCRE regex like (?=test.pgp$) or alike, which is not much supported by sed, it aint really possible afik. if you use sed, simply put /test.pgp$/d on another -e

. Mac for productivity
.. Linux for developement
... Windows for solitaire
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top