Regular Expressions 101

Community Patterns

regex for flight policies

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(__nls__)(.*?)(INR)
/

Description

'__nls__Cancellation permitted 03 Hrs before scheduled departure nls Within 03-72 hrs INR 3,500 or 100% of airfare charge (whichever is lower) nls Before 72 hrs INR 3,000 or 100% of airfare charge (whichever is lower)' this is my string I want everything between nls and nls or nls and INR

Submitted by anonymous - 10 months ago