Boopathi
(Boopathi Manogar)
February 22, 2020, 4:50pm
1
Hi Team,
I am able to identify case number but i need to use exact new line and white space and don’t know how to give a pattern to identify multiple newline
Pattern = (?<=case number\n\n\s\s\s)\d+(?=.) -
"Hello customer
Thank you for contacting us.
This is your case number
Thank you for your feedback."
i gave like this to identify if multiple new line or white space but it did not work
Hi @Boopathi ,
try this pattern: (?<=case number)([\S\s]*\d+)
regexCaseNo.xaml (4.2 KB)
Thanks!
Boopathi
(Boopathi Manogar)
February 23, 2020, 1:35am
3
hi @kadiravan_kalidoss
Thank you. It works and can we not use * symbol inside positive look behind? coz in online regex it shows alert “a quantifier inside the lookbehind makes non width.”
Thanks,
Ula
1 Like