Help Refining RegEx ("\b\d{6}([ ]{1,15})\d{7}\b") -


In the past it was my understanding that an airport's Lat / Lon should be on the same line (L 300216 0915302 '2425 29865 997) With 300216/09 15302 being a kick / loan, I came to know that users can also put the lawn on different lines.

  IRA '* Acadia Airport 29865 996 L 300216' 2425 29865 997 0915302 '2425 29865 998 s MSY 29865 99 9 05 05 29866000 P 100 0300 29866001 P 239 3405 29866002 P 999 7001 O 29866003 How do I amend my Regx in the first 6 digits of 7 digits with alpha without any alpha?  

Thank you!

As for matching

any 6 digits < / P>

You can use the pattern:

  \ bL \ s * \ d {6}  

Match will be

L (any white space) dddddd (any of the white space) ddddddd

is surrounded by borders when it matches in multiple lines When it comes to doing, it is usually a flag that you can set with a reggae engine you are using. \ S will only match the new lines, but only if you have a multi-line flag set.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -