I am using Regex.Match(dataText,“(?<=heading1)(.*\n)+(?=heading2)”).ToString.Trim
this is working fine for me … but in my pdf right side i have text… left side images, so when i am extracting the text there is small text in between the images that is also bining in my excel,. so i dont want that… i need only the text whatever there in the right side…
Undestood, but in my pdf 200 pages so i am looping it in for each so the text is changing in each page…
so i how can i use this expresssion… Your Regex expression.ToString.Replace(“that text”,””)
is there any way to extract the text only right side using width wike that…