Nelson78
Well-known Member
- Joined
- Sep 11, 2017
- Messages
- 521
- Office Version
- 2007
Hello everybody.
I have strings like these:
I need: first number after the string London but not after Madrid
So, wished results for each of the four strings above:
So, this is the starting point:
How can I develop the code?
Thank you in advance.
I have strings like these:
VBA Code:
London1725
LondonMadrid
LondonMadrid2528
London5896Madrid7852
I need: first number after the string London but not after Madrid
So, wished results for each of the four strings above:
VBA Code:
1725
5896
So, this is the starting point:
VBA Code:
(\d+)
How can I develop the code?
Thank you in advance.