Extract Version from text

Status
Not open for further replies.

kashif.special2005

Active Member
Joined
Oct 26, 2009
Messages
443
Hi,
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
I want to extract version from below mentioned texts
<o:p> </o:p>
A1 YBR 5.11 Release Answer:- 5.11<o:p></o:p>
A2 TBA 4.x Version Answer:- 4.x<o:p></o:p>
A3 YBR x.56 Version Answer:- x.56<o:p></o:p>
A4 4.1 Maestro Release Answer:- 4.1<o:p></o:p>
A5 YBR <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:City><st1:place>Mobile</st1:place></st1:City> 3.9 Release Answer:- 3.9
<o:p> </o:p>
Thanks & Regards,
Kashif.<o:p></o:p>
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Not a guaranteed method if your format changes, but it works with your examples.

=TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",10)),MAX(1,FIND(".",SUBSTITUTE(A1," ",REPT(" ",10)))-5),10))
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,224,517
Messages
6,179,239
Members
452,898
Latest member
Capolavoro009

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top