Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^5: pcre regex

by bart (Canon)
on Apr 06, 2012 at 12:00 UTC ( #963818=note: print w/replies, xml ) Need Help??


in reply to Re^4: pcre regex
in thread pcre regex

This might do what yo uwant:
\b\d{4}[A-Z0-9]\b
The \b restricts the matches to word boundaries, so it won't report matches in the middle of a longer "word" (which may include digits), like "123456789ABCD".

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://963818]
help
Chatterbox?
[LanX]: according to wp: Londoners voted in a referendum in 1998 to create new governance structures for Greater London.
[LanX]: so it was the will of the people to take back control
[LanX]: ;)
[marto]: and you still can't get a decent cup of tea in that town
[davies]: The turnout, IIRC, was about 12%.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-12-15 19:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (442 votes). Check out past polls.

    Notices?