i am not getting exact result of Positive Look ahead… can some one help me with this.
pattern:
“(?<=invoice number-\d± [A-Z]±)\w+(?=-)”
Text:
“invoice number-098888-JJHDR-INR-XJIE0R”
but i am not getting any result
i am not getting exact result of Positive Look ahead… can some one help me with this.
pattern:
“(?<=invoice number-\d± [A-Z]±)\w+(?=-)”
Text:
“invoice number-098888-JJHDR-INR-XJIE0R”
but i am not getting any result
Please shate the sample input
pattern:
“(?<=invoice number-\d± [A-Z]±)\w+(?=-)”
Sample Input:
“invoice number-098888-JJHDR-INR-XJIE0R”
Please share output also
(?<=invoice\s*number\-\d+\s*\-[A-Z]+\-)\w+(?=\-)
Check out the below regex if this is the output needed.
(?<=invoice number\-\d+\-?[A-Z]+\-)\w.*
or this:
(?<=invoice number\-\d+\-?[A-Z]+\-)\w+(?=-)
Regards
let me correct the INput
“invoice number-098888-JJHDR-INR-90000”
now i need amount after INR… how many digits it could be
If the regular expression works for you, please mark my post as solution to close the loop or if you have any queries, I’m happy to help.
Regards
thanks for the shortest sol
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.