https://regex101.com/r/i88gXH/2/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
NEUTRAL* 02JAN-WE-0001 ICNNRT(SELTYO)** ** *WLP ICN ALTERNATE GMP/NRT ALTERNATE HND 1 #H15906 Y4 B4 H4 M4 N. Q. V. O. ICNNRT 0700 0925 737 0E G. R. H15906 OPERATED BY T WAY AIR 2 $7C1100 Y4 B4 K. N. Q. M. T. W. ICNNRT 0725 0950 737 0E O. R. X. S. L. H. E- J- F- V- G. Z. D- C- A. I- P- U. 3 #H19764 Y4 B4 H. M. Q. V. X. O. ICNNRT 0725 0950 737 0E G. R. U. T. H19764 OPERATED BY JEJU AIR CO LTD 4*S#KE5741 Y7 B7 M7 S. H. E. K. L. ICNNRT 0730 1000 738 0E U. Q. KE5741 OPERATED BY JIN AIR > |
1 2 3 |
/^[1-9]\s{0,2}?(\*S|[#$])/mg |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Match 1 Full match 94-98 `1 #` Group 1. 97-98 `#` Match 2 Full match 206-210 `2 $` Group 1. 209-210 `$` Match 3 Full match 332-336 `3 #` Group 1. 335-336 `#` Match 4 Full match 456-459 `4*S` Group 1. 457-459 `*S` |
SeatCount
https://regex101.com/r/i88gXH/3
1 2 3 |
[A-Z]([0-9]{1}|[.-])\s{1} |
참고 : https://regex101.com/r/z2cD9W/1
https://regex101.com/r/zMulAd/1