Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6960625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:25:32+00:00 2026-05-27T15:25:32+00:00

I am looking for a regex pattern that will return a match from %PDF-1.2

  • 0

I am looking for a regex pattern that will return a match from %PDF-1.2 to and including %%EOF in the string below.

So far my patterns don’t seem to work.

DOCUMENTS ACCEPTED
001//201//0E9136614////ACME 107 PTY LTD//8

**E10 End of validation report**
BDAT 4367 LAST
XSVBOUT
001XSVSEPRXXXOUT_TP.19   
ZHDASCRA55  0700    8
ZCO*** TEST DATABASE ***ACME 107 PTY LTD    551824563   APTY    LMSH    PDF                             NSW 20111217                PNPC
ZIL             77000030149     Australian Securities and Investments Commission    86768265615 ZUMESOFT SOLUTIONS PTY LTD           61 buxton st    north adelaide  SA  5006   
ZIAProprietary Company  42600   0E9136614   201     TAX INVOICE EXE 0   0E9136614201C PA    20111217    Not Subject to GST - Treasurer's Determination (Exempt Taxes, Fees and Charges)
ZTRENDRA55  5
%PDF-1.2
%????
3495
%%EOF
BDAT 11 LAST
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:25:33+00:00Added an answer on May 27, 2026 at 3:25 pm

    /(?s)(%PDF-1\.2.+%%EOF)/ should solve your problem

    If you are using an older flavor of regex the (?s) could be moved to the end of regex modifier like //s so.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am looking for a regex pattern that will match a string. A string,
I am looking for a regex that will match a string that starts with
I am looking for a regex pattern that would match several different combinations of
I'm looking for a multiline regex that will match occurrences after a blank line.
I'm looking for a regex that will scan a document to match a function
I'm looking for a RegEx pattern to use in a rereplace() function that will
I'm looking for a regex pattern that will look for an attribute within an
I'm looking for a regex that will allow me to validate whether or not
I am looking for a regex that will find repeating letters. So any letter
I am looking for a regex statement that will let me extract the HTML

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.