Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23131

Can't extract the data from .pdf with Regex

$
0
0

"Certificate no. 2334"

I want to extract the number "2334" string above.But I am failed again and again.

my code :

Certificate_pattern = re.compile(r'Certificate no\.\s+(\d+)')

It would be nice to know If there is any different solution with Regex library.


Viewing all articles
Browse latest Browse all 23131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>