" DALİN 750 ML ŞAMPUAN" araması için 3 sonuç listeleniyor.
ı want to using regex ı want to see output 3 number.
Note :/// araması için … sonuç listeleniyor/// the sentence is fixed , " "between is not ımportant . blank value ıs ımportant for me can u help ?
Hi!
is that value will change?
Regards,
NaNi
Hi,
Can you try the following expression?
System.Text.RegularExpressions.Regex.Match(yourString,"(?<=araması için\s*)\d+(?=\s*sonuç listeleniyor)").Value
Regards,
yes
note " " between sentence ıs not ımportant " from after blank value ıs ımportant?
a more tolerant approach, later it could be trimmed (working in Regex101 [overcomes the:A quantifier inside a lookbehind makes it non-fixed width] when engine is not set to javascript)
But from the idea similar to the approach from @Yoichi )
2 Likes
can u help me again please
https://www.amazon.com ı want to output after from www. output should be amazon.com ?
Hi @sedayngl_sedayngl33 ,
The following regex pattern might help you out.
(?<=www.).*?$
Kind Regards,
Ashwin A.K
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.